diff --git a/client/src/test/java/io/split/client/SplitFactoryImplTest.java b/client/src/test/java/io/split/client/SplitFactoryImplTest.java index 48b702b2..ff53b783 100644 --- a/client/src/test/java/io/split/client/SplitFactoryImplTest.java +++ b/client/src/test/java/io/split/client/SplitFactoryImplTest.java @@ -223,19 +223,9 @@ public void testFactoryConsumerInstantiationRetryReadiness() throws Exception { assertNotNull(splitFactory.client()); assertNotNull(splitFactory.manager()); Thread.sleep(2000); - await().atMost(3, TimeUnit.SECONDS).until(didTheThing(userStorageWrapper)); Mockito.verify(userStorageWrapper, Mockito.times(2)).connect(); } - private Callable didTheThing(UserStorageWrapper userStorageWrapper) { - return new Callable() { - public Boolean call() throws Exception { - Thread.sleep(1000); - return true; - } - }; - } - @Test public void testFactoryConsumerDestroy() throws NoSuchFieldException, URISyntaxException, IllegalAccessException { CustomStorageWrapper customStorageWrapper = Mockito.mock(CustomStorageWrapper.class);