cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ni...@apache.org
Subject [3/3] git commit: updated refs/heads/4.2 to 9dfba19
Date Sat, 07 Dec 2013 00:29:11 GMT
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/9dfba190
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/9dfba190
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/9dfba190

Branch: refs/heads/4.2
Commit: 9dfba19009c75cdae884e11537df497021ecaa93
Parents: 275537e
Author: Nitin Mehta <nitin.mehta@citrix.com>
Authored: Wed Dec 4 16:12:42 2013 -0800
Committer: Nitin Mehta <nitin.mehta@citrix.com>
Committed: Fri Dec 6 16:28:00 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/9dfba190/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 920d6d2..be0548c 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
@@ -144,6 +144,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 = (Map<String, String>)mock(HashMap.class);


Mime
View raw message