cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ni...@apache.org
Subject git commit: updated refs/heads/master to fd19543
Date Thu, 05 Dec 2013 00:15:10 GMT
Updated Branches:
  refs/heads/master 9a0de4333 -> fd195433a


fixing the test


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/fd195433
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/fd195433
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/fd195433

Branch: refs/heads/master
Commit: fd195433ae4779dd05079b063532ba71850f20bb
Parents: 9a0de43
Author: Nitin Mehta <nitin.mehta@citrix.com>
Authored: Wed Dec 4 16:12:42 2013 -0800
Committer: Nitin Mehta <nitin.mehta@citrix.com>
Committed: Wed Dec 4 16:14:27 2013 -0800

----------------------------------------------------------------------
 .../com/cloud/hypervisor/xen/resource/CitrixResourceBaseTest.java   | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/fd195433/plugins/hypervisors/xen/test/com/cloud/hypervisor/xen/resource/CitrixResourceBaseTest.java
----------------------------------------------------------------------
diff --git a/plugins/hypervisors/xen/test/com/cloud/hypervisor/xen/resource/CitrixResourceBaseTest.java
b/plugins/hypervisors/xen/test/com/cloud/hypervisor/xen/resource/CitrixResourceBaseTest.java
index 788ad5a..c56cc6d 100644
--- a/plugins/hypervisors/xen/test/com/cloud/hypervisor/xen/resource/CitrixResourceBaseTest.java
+++ b/plugins/hypervisors/xen/test/com/cloud/hypervisor/xen/resource/CitrixResourceBaseTest.java
@@ -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);


Mime
View raw message