mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-11-04 00:02:37 +01:00 
			
		
		
		
	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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user