We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5628a16 commit ae28acaCopy full SHA for ae28aca
tests/tools/test_process_data.py
@@ -88,9 +88,8 @@ class ProcessDataRayTest(DataJuicerTestCaseBase):
88
def setUp(self):
89
super().setUp()
90
91
- self._auto_create_ray_cluster()
92
-
93
- self.tmp_dir = tempfile.TemporaryDirectory().name
+ # self._auto_create_ray_cluster()
+ self.tmp_dir = f'/workspace/tmp/{self.__class__.__name__}'
94
if not osp.exists(self.tmp_dir):
95
os.makedirs(self.tmp_dir)
96
@@ -129,8 +128,8 @@ def tearDown(self):
129
128
import ray
130
ray.shutdown()
131
132
- if self.tmp_ray_cluster:
133
- self._close_ray_cluster()
+ # if self.tmp_ray_cluster:
+ # self._close_ray_cluster()
134
135
def test_ray_image(self):
136
tmp_yaml_file = osp.join(self.tmp_dir, 'config_0.yaml')
0 commit comments