Skip to content

Commit c82a6fd

Browse files
authored
Merge pull request #22138 from jmchilton/fix_transient_wf_test
Fix transient failure in test_workflow_with_deleted_dataset_step_parameter
2 parents 3b36899 + ae63f5e commit c82a6fd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/galaxy_test/api/test_workflows.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6195,6 +6195,10 @@ def test_workflow_with_deleted_dataset_step_parameter(self):
61956195
},
61966196
inputs_by="name",
61976197
)
6198+
# Wait for the scheduler to hit the pause step (invocation state "new" → "ready")
6199+
# before deleting, otherwise the scheduler may detect the deleted dataset
6200+
# on step 2 during scheduling and fail the invocation before we can resume.
6201+
self._wait_for_invocation_state(workflow_id, invocation_id, "ready")
61986202
# Invocation is paused — delete the dataset before resuming.
61996203
self.dataset_populator.delete_dataset(history_id=history_id, content_id=to_delete_id, purge=False)
62006204
# Resume the pause step. The cat step will now run and

0 commit comments

Comments
 (0)