Skip to content

Commit c6b20b8

Browse files
winterhazelDaan Hoogland
authored andcommitted
Fix failing tests
1 parent 88a12a8 commit c6b20b8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ public void testImportFromExternalTest() throws InsufficientServerCapacityExcept
600600
DeployDestination mockDest = Mockito.mock(DeployDestination.class);
601601
when(deploymentPlanningManager.planDeployment(any(), any(), any(), any())).thenReturn(mockDest);
602602
DiskProfile diskProfile = Mockito.mock(DiskProfile.class);
603-
when(volumeManager.allocateRawVolume(any(), any(), any(), any(), any(), any(), any(), any(), any(), any(), any()))
603+
when(volumeManager.allocateRawVolume(any(), any(), any(), any(), any(), any(), any(), any(), any(), any(), anyBoolean()))
604604
.thenReturn(diskProfile);
605605
Map<Volume, StoragePool> storage = new HashMap<>();
606606
VolumeVO volume = Mockito.mock(VolumeVO.class);
@@ -836,7 +836,7 @@ private void importFromDisk(String source) throws InsufficientServerCapacityExce
836836
DeployDestination mockDest = Mockito.mock(DeployDestination.class);
837837
when(deploymentPlanningManager.planDeployment(any(), any(), any(), any())).thenReturn(mockDest);
838838
DiskProfile diskProfile = Mockito.mock(DiskProfile.class);
839-
when(volumeManager.allocateRawVolume(any(), any(), any(), any(), any(), any(), any(), any(), any(), any(), any()))
839+
when(volumeManager.allocateRawVolume(any(), any(), any(), any(), any(), any(), any(), any(), any(), any(), anyBoolean()))
840840
.thenReturn(diskProfile);
841841
Map<Volume, StoragePool> storage = new HashMap<>();
842842
VolumeVO volume = Mockito.mock(VolumeVO.class);

0 commit comments

Comments
 (0)