mirror of https://github.com/apache/cloudstack.git
fixing the test
This commit is contained in:
parent
9a0de43334
commit
fd195433ae
|
|
@ -158,6 +158,7 @@ public class CitrixResourceBaseTest {
|
|||
doReturn(1).when(vmSpec).getCpus();
|
||||
doNothing().when(vm).setVCPUsNumberLive(conn, 1L);
|
||||
doReturn(500).when(vmSpec).getMinSpeed();
|
||||
doReturn(500).when(vmSpec).getMaxSpeed();
|
||||
doReturn(true).when(vmSpec).getLimitCpuUse();
|
||||
doReturn(null).when(_resource).callHostPlugin(conn, "vmops", "add_to_VCPUs_params_live", "key", "cap", "value", "99", "vmname", "i-2-3-VM");
|
||||
Map<String, String> args = mock(HashMap.class);
|
||||
|
|
|
|||
Loading…
Reference in New Issue