From 8c9faa79ee5e7bc04d74a2a0ab461239d8937291 Mon Sep 17 00:00:00 2001 From: Lester Solbakken Date: Sat, 1 Jun 2024 09:19:50 +0200 Subject: [PATCH] Remove unnecessary assertion --- .../java/com/yahoo/search/rendering/EventRendererTestCase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/container-search/src/test/java/com/yahoo/search/rendering/EventRendererTestCase.java b/container-search/src/test/java/com/yahoo/search/rendering/EventRendererTestCase.java index c0a677b20945..2cfb6552379d 100644 --- a/container-search/src/test/java/com/yahoo/search/rendering/EventRendererTestCase.java +++ b/container-search/src/test/java/com/yahoo/search/rendering/EventRendererTestCase.java @@ -141,7 +141,7 @@ public void testAsyncRendering() throws InterruptedException, ExecutionException }); assertFalse(future.isDone()); result = render(new Result(new Query(), newHitGroup(tokenStream, "token_stream"))); - assertTrue(future.isDone()); // Renderer waits for async completion + future.join(); // Renderer waits for async completion } finally { executor.shutdownNow();