mirror of https://github.com/apache/jclouds.git
prevent assertions in sshj from borking tests
This commit is contained in:
parent
bab3852140
commit
6407700de4
|
@ -116,6 +116,8 @@ public class SSHClientConnection implements Connection<SSHClient> {
|
|||
if (ssh != null && ssh.isConnected()) {
|
||||
try {
|
||||
ssh.disconnect();
|
||||
} catch (AssertionError e) {
|
||||
// already connected
|
||||
} catch (IOException e) {
|
||||
logger.debug("<< exception disconnecting from %s: %s", e, e.getMessage());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue