HBASE-19942 (addendum) Fix flaky TestSimpleRpcScheduler
This commit is contained in:
parent
bc080e7500
commit
4461cb7d7a
|
@ -104,7 +104,7 @@ public class TestSimpleRpcScheduler {
|
|||
CallRunner task = createMockTask();
|
||||
task.setStatus(new MonitoredRPCHandlerImpl());
|
||||
scheduler.dispatch(task);
|
||||
verify(task, timeout(1000)).run();
|
||||
verify(task, timeout(10000)).run();
|
||||
scheduler.stop();
|
||||
}
|
||||
|
||||
|
@ -218,7 +218,7 @@ public class TestSimpleRpcScheduler {
|
|||
scheduler.dispatch(task);
|
||||
}
|
||||
for (CallRunner task : tasks) {
|
||||
verify(task, timeout(1000)).run();
|
||||
verify(task, timeout(10000)).run();
|
||||
}
|
||||
scheduler.stop();
|
||||
|
||||
|
|
Loading…
Reference in New Issue