Skip to content

Commit e8f8aca

Browse files
winterhazelDaan Hoogland
authored andcommitted
Fix failing tests
1 parent 4972662 commit e8f8aca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/src/test/java/org/apache/cloudstack/vm/UnmanagedVMsManagerImplTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ public void testImportFromExternalTest() throws InsufficientServerCapacityExcept
508508
DeployDestination mockDest = Mockito.mock(DeployDestination.class);
509509
when(deploymentPlanningManager.planDeployment(any(), any(), any(), any())).thenReturn(mockDest);
510510
DiskProfile diskProfile = Mockito.mock(DiskProfile.class);
511-
when(volumeManager.allocateRawVolume(any(), any(), any(), any(), any(), any(), any(), any(), any(), any(), any()))
511+
when(volumeManager.allocateRawVolume(any(), any(), any(), any(), any(), any(), any(), any(), any(), any(), anyBoolean()))
512512
.thenReturn(diskProfile);
513513
Map<Volume, StoragePool> storage = new HashMap<>();
514514
VolumeVO volume = Mockito.mock(VolumeVO.class);
@@ -743,7 +743,7 @@ private void importFromDisk(String source) throws InsufficientServerCapacityExce
743743
DeployDestination mockDest = Mockito.mock(DeployDestination.class);
744744
when(deploymentPlanningManager.planDeployment(any(), any(), any(), any())).thenReturn(mockDest);
745745
DiskProfile diskProfile = Mockito.mock(DiskProfile.class);
746-
when(volumeManager.allocateRawVolume(any(), any(), any(), any(), any(), any(), any(), any(), any(), any(), any()))
746+
when(volumeManager.allocateRawVolume(any(), any(), any(), any(), any(), any(), any(), any(), any(), any(), anyBoolean()))
747747
.thenReturn(diskProfile);
748748
Map<Volume, StoragePool> storage = new HashMap<>();
749749
VolumeVO volume = Mockito.mock(VolumeVO.class);

0 commit comments

Comments
 (0)