We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3b36899 + ae63f5e commit c82a6fdCopy full SHA for c82a6fd
lib/galaxy_test/api/test_workflows.py
@@ -6195,6 +6195,10 @@ def test_workflow_with_deleted_dataset_step_parameter(self):
6195
},
6196
inputs_by="name",
6197
)
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")
6202
# Invocation is paused — delete the dataset before resuming.
6203
self.dataset_populator.delete_dataset(history_id=history_id, content_id=to_delete_id, purge=False)
6204
# Resume the pause step. The cat step will now run and
0 commit comments