galaxy
galaxy copied to clipboard
Transient Test Failure - test_delete_job_with_message
___________________ TestJobsApi.test_delete_job_with_message ___________________
self = <galaxy_test.api.test_jobs.TestJobsApi object at 0x7f5dc331dc40>
history_id = '44b3e701d43bfc1a'
@pytest.mark.require_new_history
def test_delete_job_with_message(self, history_id):
input_dataset_id = self.__history_with_ok_dataset(history_id)
inputs = json.dumps({"input1": {"src": "hda", "id": input_dataset_id}})
search_payload = self._search_payload(history_id=history_id, tool_id="cat1", inputs=inputs)
# create a job
tool_response = self._post("tools", data=search_payload).json()
job_id = tool_response["jobs"][0]["id"]
output_dataset_id = tool_response["outputs"][0]["id"]
# delete the job with message
expected_message = "test message"
delete_job_response = self._delete(f"jobs/{job_id}", data={"message": expected_message}, json=True)
self._assert_status_code_is(delete_job_response, 200)
# Check the output dataset is deleted and the info field contains the message
dataset_details = self._get(f"histories/{history_id}/contents/{output_dataset_id}").json()
assert dataset_details["deleted"] is True
> assert dataset_details["misc_info"] == expected_message
E AssertionError: assert None == 'test message'
This issue is not fixed and was last seen at 2025-11-27T20:47:02.783927 https://github.com/galaxyproject/galaxy/actions/runs/19747410438/job/56584317585?pr=21338
Ooo... sorry you saw it again but the process is working. Thanks for reporting - I'll remove the potentially fixed decorator.