From 45c26e8682825eb5fba206aeb74e5ecee272e359 Mon Sep 17 00:00:00 2001 From: Bartosz Mikulski Date: Wed, 7 Feb 2024 11:56:26 +0100 Subject: [PATCH] Fix Inspection Check in DirectDruidClientTest (#15857) --- .../java/org/apache/druid/client/DirectDruidClientTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/src/test/java/org/apache/druid/client/DirectDruidClientTest.java b/server/src/test/java/org/apache/druid/client/DirectDruidClientTest.java index 716e7500fe0..4c99d2b5409 100644 --- a/server/src/test/java/org/apache/druid/client/DirectDruidClientTest.java +++ b/server/src/test/java/org/apache/druid/client/DirectDruidClientTest.java @@ -70,6 +70,7 @@ import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.concurrent.ScheduledExecutorService; +import java.util.concurrent.TimeUnit; public class DirectDruidClientTest { @@ -131,7 +132,7 @@ public class DirectDruidClientTest public void teardown() throws InterruptedException { queryCancellationExecutor.shutdown(); - queryCancellationExecutor.awaitTermination(1, java.util.concurrent.TimeUnit.SECONDS); + queryCancellationExecutor.awaitTermination(1, TimeUnit.SECONDS); } @Test