HBASE-19942 (addendum) Fix flaky TestSimpleRpcScheduler

This commit is contained in:
Guanghao Zhang 2018-02-09 10:00:29 +08:00
parent f1a81618fd
commit 0a5f26324c
1 changed files with 2 additions and 2 deletions

View File

@ -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();