mirror of https://github.com/apache/jclouds.git
changed gogrid to not use ssh ctor
This commit is contained in:
parent
755485537b
commit
e82e198a9f
|
@ -354,8 +354,7 @@ public class GoGridLiveTestDisabled extends BaseVersionedServiceLiveTest {
|
||||||
|
|
||||||
socketOpen.apply(socket);
|
socketOpen.apply(socket);
|
||||||
|
|
||||||
SshClient sshClient = new SshjSshClient(new BackoffLimitedRetryHandler(), socket, 60000,
|
SshClient sshClient = context.utils().injector().getInstance(SshClient.Factory.class).create(socket, instanceCredentials);
|
||||||
instanceCredentials.identity, instanceCredentials.credential, null);
|
|
||||||
sshClient.connect();
|
sshClient.connect();
|
||||||
String output = sshClient.exec("df").getOutput();
|
String output = sshClient.exec("df").getOutput();
|
||||||
assertTrue(output.contains("Filesystem"),
|
assertTrue(output.contains("Filesystem"),
|
||||||
|
|
Loading…
Reference in New Issue