Fix Java MultithreadingTest (#5170)

This commit is contained in:
Hao Chen
2019-07-11 13:40:40 +08:00
committed by GitHub
parent 43b6513d19
commit 88365d4112
@@ -84,7 +84,7 @@ public class MultiThreadingTest extends BaseTest {
// Test wait for one object in multi threads.
RayObject<Integer> obj = Ray.call(MultiThreadingTest::echo, 100);
runTestCaseInMultipleThreads(() -> {
WaitResult<Integer> result = Ray.wait(ImmutableList.of(obj), 1, 1000);
WaitResult<Integer> result = Ray.wait(ImmutableList.of(obj), 1, 2000);
Assert.assertEquals(1, result.getReady().size());
}, 1);