Wait for MockServer to stop

This commit is contained in:
Christian Tzolov
2021-06-21 17:29:34 +02:00
parent 8be9303973
commit f4528519a9

View File

@@ -88,6 +88,7 @@ public class TwitterTrendLocationProcessorIntegrationTests {
@AfterEach
public void stopServer() {
mockServer.stop();
while (!mockServer.hasStopped(3,100L, TimeUnit.MILLISECONDS)){}
}
@Test