mirror of https://github.com/apache/jclouds.git
Fix compute service integration tests
This commit is contained in:
parent
10a585e504
commit
3749543809
|
@ -157,12 +157,12 @@ public class StubComputeServiceIntegrationTest extends BaseComputeServiceLiveTes
|
||||||
|
|
||||||
// run script without backgrounding (via predicate)
|
// run script without backgrounding (via predicate)
|
||||||
client2.connect();
|
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.disconnect();
|
||||||
|
|
||||||
// run script without backgrounding (via id)
|
// run script without backgrounding (via id)
|
||||||
client2.connect();
|
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.disconnect();
|
||||||
|
|
||||||
client2.connect();
|
client2.connect();
|
||||||
|
|
Loading…
Reference in New Issue