Skip to content

Commit 9dfba19

Browse files
committed
fixing the test
1 parent 275537e commit 9dfba19

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎plugins/hypervisors/xen/test/com/cloud/hypervisor/xen/resource/CitrixResourceBaseTest.java‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ public void testScaleVMF3() throws Types.XenAPIException, XmlRpcException {
144144
doReturn(1).when(vmSpec).getCpus();
145145
doNothing().when(vm).setVCPUsNumberLive(conn, 1L);
146146
doReturn(500).when(vmSpec).getMinSpeed();
147+
doReturn(500).when(vmSpec).getMaxSpeed();
147148
doReturn(true).when(vmSpec).getLimitCpuUse();
148149
doReturn(null).when(_resource).callHostPlugin(conn, "vmops", "add_to_VCPUs_params_live", "key", "cap", "value", "99", "vmname", "i-2-3-VM");
149150
Map<String, String> args = (Map<String, String>)mock(HashMap.class);

0 commit comments

Comments
 (0)