mirror of
https://github.com/wassname/ray.git
synced 2026-07-27 11:26:41 +08:00
Add back some tests for xray. (#2772)
This commit is contained in:
committed by
Philipp Moritz
parent
9f06c19edd
commit
32f7d6fcf5
+2
-4
@@ -1986,10 +1986,8 @@ def ray_stop():
|
||||
ray.shutdown()
|
||||
|
||||
|
||||
@unittest.skipIf(
|
||||
os.environ.get("RAY_USE_XRAY") == "1" or sys.version_info < (3, 0),
|
||||
"This test does not work with xray yet"
|
||||
" and is currently failing on Python 2.7.")
|
||||
@unittest.skipIf(sys.version_info < (3, 0),
|
||||
"This test is currently failing on Python 2.7.")
|
||||
def testLifetimeAndTransientResources(ray_stop):
|
||||
ray.init(num_cpus=1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user