From e82e198a9f848708b922038b280830246650e914 Mon Sep 17 00:00:00 2001 From: Adrian Cole Date: Sat, 10 Mar 2012 14:43:58 -0800 Subject: [PATCH] changed gogrid to not use ssh ctor --- .../test/java/org/jclouds/gogrid/GoGridLiveTestDisabled.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/providers/gogrid/src/test/java/org/jclouds/gogrid/GoGridLiveTestDisabled.java b/providers/gogrid/src/test/java/org/jclouds/gogrid/GoGridLiveTestDisabled.java index 8648076e32..962891d560 100644 --- a/providers/gogrid/src/test/java/org/jclouds/gogrid/GoGridLiveTestDisabled.java +++ b/providers/gogrid/src/test/java/org/jclouds/gogrid/GoGridLiveTestDisabled.java @@ -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"),