Add back some tests for xray. (#2772)

This commit is contained in:
Robert Nishihara
2018-08-30 11:07:23 -07:00
committed by Philipp Moritz
parent 9f06c19edd
commit 32f7d6fcf5
4 changed files with 14 additions and 18 deletions
+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)