Merge pull request #18498 from mvdbeek/stabilize_test_purge_while_job_running

[24.1] Stabilize test_purge_while_job_running test
This commit is contained in:
Marius van den Beek
2024-07-05 16:17:21 +02:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
@@ -9,7 +9,7 @@ def purge_while_job_running(dataset_populator: DatasetPopulator, extra_sleep=0):
response = dataset_populator.run_tool(
"all_output_types",
inputs={
"sleep_param": 5,
"sleep_param": 5 + extra_sleep,
},
history_id=history_id,
)
+1 -1
View File
@@ -100,7 +100,7 @@ class TestExtendedMetadataIntegration(integration_util.IntegrationTestCase):
def test_purge_while_job_running(self):
# pass extra_sleep, since templating the command line will fail if the output
# is deleted before remote_tool_eval runs.
purge_while_job_running(self.dataset_populator, extra_sleep=4)
purge_while_job_running(self.dataset_populator, extra_sleep=10)
class TestExtendedMetadataDeferredIntegration(integration_util.IntegrationTestCase):