mirror of https://github.com/apache/jclouds.git
Fix compute service integration tests
This commit is contained in:
parent
4c2151a3f1
commit
a5a48749f8
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue