Repository: jclouds
Updated Branches:
  refs/heads/2.0.x 10a585e50 -> 374954380


Fix compute service integration tests


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

Branch: refs/heads/2.0.x
Commit: 374954380957b1d458a1a61b96887142ad25b2db
Parents: 10a585e
Author: Ignasi Barrera <[email protected]>
Authored: Tue Jan 31 11:51:18 2017 +0100
Committer: Ignasi Barrera <[email protected]>
Committed: Tue Jan 31 11:51:51 2017 +0100

----------------------------------------------------------------------
 .../org/jclouds/compute/StubComputeServiceIntegrationTest.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jclouds/blob/37495438/compute/src/test/java/org/jclouds/compute/StubComputeServiceIntegrationTest.java
----------------------------------------------------------------------
diff --git 
a/compute/src/test/java/org/jclouds/compute/StubComputeServiceIntegrationTest.java
 
b/compute/src/test/java/org/jclouds/compute/StubComputeServiceIntegrationTest.java
index cfd904e..e2468e3 100644
--- 
a/compute/src/test/java/org/jclouds/compute/StubComputeServiceIntegrationTest.java
+++ 
b/compute/src/test/java/org/jclouds/compute/StubComputeServiceIntegrationTest.java
@@ -157,12 +157,12 @@ public class StubComputeServiceIntegrationTest extends 
BaseComputeServiceLiveTes
 
             // run script without backgrounding (via predicate)
             client2.connect();
-            expect(client2.exec("hostname\n")).andReturn(new 
ExecResponse("stub-r\n", "", 0));
+            expect(client2.exec("hostname -s\n")).andReturn(new 
ExecResponse("stub-r\n", "", 0));
             client2.disconnect();
 
             // run script without backgrounding (via id)
             client2.connect();
-            expect(client2.exec("hostname\n")).andReturn(new 
ExecResponse("stub-r\n", "", 0));
+            expect(client2.exec("hostname -s\n")).andReturn(new 
ExecResponse("stub-r\n", "", 0));
             client2.disconnect();
 
             client2.connect();

Reply via email to