diff options
-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(); |