We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60e5ffc commit 3dac829Copy full SHA for 3dac829
server/src/test/java/com/cloud/hypervisor/KVMGuruTest.java
@@ -143,7 +143,6 @@ public void testSetVmQuotaPercentage() {
143
@Test
144
public void testSetVmQuotaPercentageNullHost() {
145
Mockito.when(hostDao.findById(hostId)).thenReturn(null);
146
- Mockito.when(vm.getLastHostId()).thenReturn(null);
147
guru.setVmQuotaPercentage(vmTO, vmProfile);
148
Mockito.verify(vmTO, Mockito.never()).setCpuQuotaPercentage(Mockito.anyDouble());
149
}
0 commit comments