mirror of https://github.com/apache/druid.git
fix flaky RemoteTaskRunnerTest.testRunPendingTaskFailToAssignTask with ugly Thread.sleep (#13344)
This commit is contained in:
parent
27215d1ff1
commit
44f29030dd
|
@ -568,6 +568,7 @@ public class RemoteTaskRunnerTest
|
|||
public void testRunPendingTaskFailToAssignTask() throws Exception
|
||||
{
|
||||
doSetup();
|
||||
Thread.sleep(100);
|
||||
RemoteTaskRunnerWorkItem originalItem = remoteTaskRunner.addPendingTask(task);
|
||||
// modify taskId to make task assignment failed
|
||||
RemoteTaskRunnerWorkItem wankyItem = Mockito.mock(RemoteTaskRunnerWorkItem.class);
|
||||
|
|
Loading…
Reference in New Issue