diff --git a/src/test/java/io/getunleash/DefaultUnleashTest.java b/src/test/java/io/getunleash/DefaultUnleashTest.java index 5344bf54..fe6bd001 100644 --- a/src/test/java/io/getunleash/DefaultUnleashTest.java +++ b/src/test/java/io/getunleash/DefaultUnleashTest.java @@ -310,6 +310,7 @@ public void asynchronous_fetch_on_initialisation_fails_silently_and_retries() .build(); Unleash unleash = new DefaultUnleash(config); + Thread.sleep(500); verify(fetcher, times(1)).fetchFeatures(); Thread.sleep(1200); verify(fetcher, times(2)).fetchFeatures();