mirror of
https://github.com/vale981/ray
synced 2025-03-05 10:01:43 -05:00
[Java] Try to fix flaky NamespaceTest (#21370)
This commit is contained in:
parent
819e034023
commit
240e6efe21
1 changed files with 1 additions and 4 deletions
|
@ -113,12 +113,9 @@ public class NamespaceTest {
|
|||
builder.redirectError(ProcessBuilder.Redirect.INHERIT);
|
||||
driver = builder.start();
|
||||
// Wait for driver to start.
|
||||
TimeUnit.SECONDS.sleep(3);
|
||||
driver.waitFor(10, TimeUnit.SECONDS);
|
||||
runnable.run();
|
||||
} finally {
|
||||
if (driver != null) {
|
||||
driver.waitFor(1, TimeUnit.SECONDS);
|
||||
}
|
||||
Ray.shutdown();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue