BUG-2340 Fix improper cleanup of resources in netconf ssh handler
[controller.git] / opendaylight / netconf / netconf-ssh / src / test / java / org / opendaylight / controller / netconf / netty / SSHTest.java
index 2802488170ef9cc9ef6d27b3846592b19219ca9b..72534e242e92dc4a4d8a19690caecd0fcf5d0cdd 100644 (file)
@@ -136,7 +136,7 @@ public class SSHTest {
             Thread.sleep(100);
         }
         assertFalse(echoClientHandler.isConnected());
-        assertEquals(State.CONNECTION_CLOSED, echoClientHandler.getState());
+        assertEquals(State.FAILED_TO_CONNECT, echoClientHandler.getState());
     }
 
 }