diff options
author | Vitaly Takmazov | 2018-03-18 11:33:24 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-03-18 11:33:24 +0300 |
commit | 4a1e9c4d8868ad1f14cd1c8df57db80bfbd897ce (patch) | |
tree | 7a9460f8e0ac084bccf57a736dcdc4d906722326 | |
parent | 714614963bb5d6706124da0186cb59a8e11825a2 (diff) |
fix tests
-rw-r--r-- | juick-xmpp-wip/src/test/java/com/juick/xmpp/XMPPTests.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/juick-xmpp-wip/src/test/java/com/juick/xmpp/XMPPTests.java b/juick-xmpp-wip/src/test/java/com/juick/xmpp/XMPPTests.java index f39913f8..a9c6904c 100644 --- a/juick-xmpp-wip/src/test/java/com/juick/xmpp/XMPPTests.java +++ b/juick-xmpp-wip/src/test/java/com/juick/xmpp/XMPPTests.java @@ -51,7 +51,7 @@ public class XMPPTests { @Inject XMPPRouter router; @Inject - ExecutorService service; + ExecutorService executorService; @Test public void routerHandshake() throws InterruptedException { XmppSessionConfiguration configuration = XmppSessionConfiguration.builder() @@ -74,7 +74,7 @@ public class XMPPTests { lock2.countDown(); } }); - service.submit(() -> { + executorService.submit(() -> { try { Thread.sleep(3000); routerClient.connect(); |