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);
|
||||
|
||||
SshClient sshClient = new SshjSshClient(new BackoffLimitedRetryHandler(), socket, 60000,
|
||||
instanceCredentials.identity, instanceCredentials.credential, null);
|
||||
SshClient sshClient = context.utils().injector().getInstance(SshClient.Factory.class).create(socket, instanceCredentials);
|
||||
sshClient.connect();
|
||||
String output = sshClient.exec("df").getOutput();
|
||||
assertTrue(output.contains("Filesystem"),
|
||||
|
|
Loading…
Reference in New Issue