File tree Expand file tree Collapse file tree
plugins/hypervisors/kvm/test/com/cloud/hypervisor/kvm/resource Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1055,7 +1055,7 @@ public void testAttachVolumeCommandLibvirtException() {
10551055 assertNotNull (wrapper );
10561056
10571057 final Answer answer = wrapper .execute (command , libvirtComputingResource );
1058- assertTrue (answer .getResult ());
1058+ assertFalse (answer .getResult ());
10591059
10601060 verify (libvirtComputingResource , times (1 )).getLibvirtConnectionWrapper ();
10611061 try {
@@ -1100,7 +1100,7 @@ public void testAttachVolumeCommandInternalErrorException() {
11001100 assertNotNull (wrapper );
11011101
11021102 final Answer answer = wrapper .execute (command , libvirtComputingResource );
1103- assertTrue (answer .getResult ());
1103+ assertFalse (answer .getResult ());
11041104
11051105 verify (libvirtComputingResource , times (1 )).getLibvirtConnectionWrapper ();
11061106 try {
You can’t perform that action at this time.
0 commit comments