mirror of
https://github.com/wassname/ray.git
synced 2026-07-23 13:10:11 +08:00
Use more CPUs for testMultipleWaitsAndGets. (#2051)
This commit is contained in:
committed by
Philipp Moritz
parent
3ac0c08daa
commit
18071d95a7
+1
-1
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user