mirror of https://github.com/apache/druid.git
Fix Inspection Check in DirectDruidClientTest (#15857)
This commit is contained in:
parent
fdc7cec271
commit
45c26e8682
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue