Expire negotiation on event loop
[netconf.git] / netconf / netconf-netty-util / src / test / java / org / opendaylight / netconf / nettyutil / AbstractNetconfSessionNegotiatorTest.java
index b343a7e2f81e993c1bad22559ab7c80f888b5d4d..0eb90f5841928fdf77d536b7e7fb80aa65431e28 100644 (file)
@@ -128,6 +128,7 @@ public class AbstractNetconfSessionNegotiatorTest {
         negotiator.startNegotiation();
 
         captor.getValue().run(timeout);
+        channel.runPendingTasks();
         verify(closedDetector).close(any(), any());
     }