From 4a1e9c4d8868ad1f14cd1c8df57db80bfbd897ce Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Sun, 18 Mar 2018 11:33:24 +0300 Subject: fix tests --- juick-xmpp-wip/src/test/java/com/juick/xmpp/XMPPTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'juick-xmpp-wip/src/test/java') 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(); -- cgit v1.2.3