Fix compute service integration tests

This commit is contained in:
Ignasi Barrera 2017-01-31 11:51:18 +01:00
parent 4c2151a3f1
commit a5a48749f8
1 changed files with 2 additions and 2 deletions

View File

@ -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();