Added cachedThreadPool in ConnectionAdapter
[openflowjava.git] / openflow-protocol-it / src / test / java / org / opendaylight / openflowjava / protocol / impl / integration / MockPlugin.java
index 40419621e81827e7d56d68ad23ffc2d295180dfd..3ba78a42be5baac6ae612ee057a444cc3cf11b1c 100644 (file)
@@ -141,11 +141,11 @@ public class MockPlugin implements OpenflowProtocolListener, SwitchConnectionHan
         try {\r
             LOGGER.info("mockPlugin: "+System.identityHashCode(this));\r
             Thread.sleep(500);\r
-//            if (adapter != null) {\r
+            if (adapter != null) {\r
                 Future<Boolean> disconnect = adapter.disconnect();\r
                 disconnect.get();\r
                 LOGGER.info("Disconnected");\r
-//            }\r
+            }\r
         } catch (Exception e) {\r
             LOGGER.error(e.getMessage(), e);\r
         }\r