mirror of https://github.com/apache/cloudstack.git
Fixing assertion on the tests that are execting exceptions
This commit is contained in:
parent
40886b337c
commit
08a9523dcd
|
|
@ -1055,7 +1055,7 @@ public class LibvirtComputingResourceTest {
|
|||
assertNotNull(wrapper);
|
||||
|
||||
final Answer answer = wrapper.execute(command, libvirtComputingResource);
|
||||
assertTrue(answer.getResult());
|
||||
assertFalse(answer.getResult());
|
||||
|
||||
verify(libvirtComputingResource, times(1)).getLibvirtConnectionWrapper();
|
||||
try {
|
||||
|
|
@ -1100,7 +1100,7 @@ public class LibvirtComputingResourceTest {
|
|||
assertNotNull(wrapper);
|
||||
|
||||
final Answer answer = wrapper.execute(command, libvirtComputingResource);
|
||||
assertTrue(answer.getResult());
|
||||
assertFalse(answer.getResult());
|
||||
|
||||
verify(libvirtComputingResource, times(1)).getLibvirtConnectionWrapper();
|
||||
try {
|
||||
|
|
|
|||
Loading…
Reference in New Issue