From 18071d95a7d959815c61cfbb0c4eac42b9041806 Mon Sep 17 00:00:00 2001 From: Robert Nishihara Date: Sun, 13 May 2018 15:35:02 -0700 Subject: [PATCH] Use more CPUs for testMultipleWaitsAndGets. (#2051) --- test/runtest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/runtest.py b/test/runtest.py index 469d21b77..598dceb21 100644 --- a/test/runtest.py +++ b/test/runtest.py @@ -788,7 +788,7 @@ class APITest(unittest.TestCase): def testMultipleWaitsAndGets(self): # It is important to use three workers here, so that the three tasks # launched in this experiment can run at the same time. - self.init_ray() + self.init_ray(num_cpus=3) @ray.remote def f(delay):