Fix Inspection Check in DirectDruidClientTest (#15857)

This commit is contained in:
Bartosz Mikulski 2024-02-07 11:56:26 +01:00 committed by GitHub
parent fdc7cec271
commit 45c26e8682
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -70,6 +70,7 @@ import java.util.ArrayList;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
public class DirectDruidClientTest public class DirectDruidClientTest
{ {
@ -131,7 +132,7 @@ public class DirectDruidClientTest
public void teardown() throws InterruptedException public void teardown() throws InterruptedException
{ {
queryCancellationExecutor.shutdown(); queryCancellationExecutor.shutdown();
queryCancellationExecutor.awaitTermination(1, java.util.concurrent.TimeUnit.SECONDS); queryCancellationExecutor.awaitTermination(1, TimeUnit.SECONDS);
} }
@Test @Test