Skip to content

Commit 00775c1

Browse files
committed
remove unused stubs
1 parent bf1e2c6 commit 00775c1

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

engine/storage/datamotion/src/test/java/org/apache/cloudstack/storage/motion/KvmNonManagedStorageSystemDataMotionTest.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,6 @@ public void setUp() {
408408

409409
when(volumeInfo1.getPoolId()).thenReturn(POOL_1_ID);
410410
when(primaryDataStoreDao.findById(POOL_1_ID)).thenReturn(pool1);
411-
when(pool1.isManaged()).thenReturn(false);
412411
when(dataStore2.getId()).thenReturn(POOL_2_ID);
413412
when(primaryDataStoreDao.findById(POOL_2_ID)).thenReturn(pool2);
414413
when(pool2.isManaged()).thenReturn(true);
@@ -493,9 +492,6 @@ public void testVerifyLiveMigrationMapForKVMNotExistingDest() {
493492

494493
@Test(expected = CloudRuntimeException.class)
495494
public void testVerifyLiveMigrationMapForKVMMixedManagedUnmagedStorage() {
496-
when(pool1.isManaged()).thenReturn(true);
497-
when(pool1.getId()).thenReturn(POOL_1_ID);
498-
when(pool2.getId()).thenReturn(POOL_2_ID);
499495
lenient().when(pool2.isManaged()).thenReturn(false);
500496
kvmNonManagedStorageDataMotionStrategy.verifyLiveMigrationForKVM(migrationMap, host2);
501497
}

0 commit comments

Comments
 (0)