Skip to content

Commit 9173f2f

Browse files
committed
test(submission): mask async submission test on pbs and slurm
Signed-off-by: ixsluo <[email protected]>
1 parent 00d3c13 commit 9173f2f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/test_run_submission.py

+8
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,10 @@ def setUp(self):
156156
self.machine_dict["batch_type"] = "Slurm"
157157
self.resources_dict["queue_name"] = "normal"
158158

159+
@unittest.skip("Manaually skip") # comment this line to open unittest
160+
def test_async_run_submission(self):
161+
return super().test_async_run_submission()
162+
159163

160164
@unittest.skipIf(
161165
os.environ.get("DPDISPATCHER_TEST") != "slurm",
@@ -189,6 +193,10 @@ def setUp(self):
189193
self.machine_dict["batch_type"] = "PBS"
190194
self.resources_dict["queue_name"] = "workq"
191195

196+
@unittest.skip("Manaually skip") # comment this line to open unittest
197+
def test_async_run_submission(self):
198+
return super().test_async_run_submission()
199+
192200

193201
@unittest.skipIf(sys.platform == "win32", "Shell is not supported on Windows")
194202
class TestLazyLocalContext(RunSubmission, unittest.TestCase):

0 commit comments

Comments
 (0)