Add back some tests for xray. (#2772)

This commit is contained in:
Robert Nishihara authored and Philipp Moritz committed 2018-08-30 11:07:23 -07:00
1 parent 9f06c19edd
commit 32f7d6fcf5
4 files changed
+14 -18

No files matched your search

+2 -4
View File
@@ -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)