mirror of
https://github.com/wassname/ray.git
synced 2026-06-28 22:53:49 +08:00
Shard unit tests into medium sized files for test stability (#6398)
This commit is contained in:
@@ -6,6 +6,7 @@ import numpy as np
|
||||
import unittest
|
||||
|
||||
import ray
|
||||
from ray import ray_constants
|
||||
|
||||
|
||||
class TestUnreconstructableErrors(unittest.TestCase):
|
||||
@@ -27,6 +28,9 @@ class TestUnreconstructableErrors(unittest.TestCase):
|
||||
lambda: ray.get(x_id))
|
||||
|
||||
def testLineageEvictedReconstructionFails(self):
|
||||
if ray_constants.direct_call_enabled():
|
||||
return # not relevant
|
||||
|
||||
@ray.remote
|
||||
def f(data):
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user