Files
galaxy/test/functional/tools
mvdbeek 1b4e6ceff1 Fix DataManagerTool.exec_after_process for async API submission
When a data manager job is submitted via POST /api/jobs (async path), the
Celery task reconstructs the tool from raw XML without a data_manager_id,
causing DataManagerJobAssociation to store the tool XML id instead of the
conf id when those differ. exec_after_process then fails with "Invalid data
manager requested" because DataManagers registry is keyed by conf id.

Fix by preferring self.data_manager_id (always set correctly at toolbox load
time) over job.data_manager_association.data_manager_id in exec_after_process.

Add a regression test using the "data_manager" test tool (tool XML id) which
is registered in sample_data_manager_conf.xml as id="test_data_manager",
replicating the exact id mismatch seen in production (e.g. bowtie2).
2026-06-15 08:56:03 +02:00
..
2025-05-02 11:25:21 -04:00
2024-06-10 10:34:15 +02:00
2026-03-06 19:05:20 +01:00
2023-02-05 20:06:08 +01:00
2022-02-03 07:42:20 -05:00
2021-01-05 12:39:53 +00:00
2021-01-05 12:39:53 +00:00
2021-01-05 12:39:53 +00:00
2025-04-03 10:32:50 +02:00
2022-03-22 18:56:49 +01:00
2025-03-26 18:07:57 +01:00
2022-04-21 11:15:07 +02:00
2021-01-05 12:39:53 +00:00
2025-05-21 17:09:06 +01:00
2021-01-05 12:39:53 +00:00
2025-02-11 14:36:20 +01:00
2021-04-07 19:38:25 +02:00
2026-01-07 18:11:13 +01:00
2021-01-05 12:39:53 +00:00
2023-06-06 10:02:30 +02:00
2025-03-25 10:29:01 +01:00
2021-01-05 12:39:53 +00:00
2021-01-05 12:39:53 +00:00
2021-01-05 12:39:53 +00:00
2021-01-05 12:39:53 +00:00
2021-01-05 12:39:53 +00:00
2021-01-05 12:39:53 +00:00
2024-03-01 22:45:38 -05:00
2023-09-08 13:16:52 +02:00
2023-09-09 13:19:47 +02:00
2026-03-30 15:58:40 -04:00
2023-10-21 15:31:30 +02:00
2022-08-18 14:28:55 +02:00
...
2024-12-19 16:54:03 +01:00
2025-04-15 15:09:32 +02:00
2024-09-30 13:25:02 -04:00
2021-01-05 12:39:53 +00:00
2021-01-05 12:39:53 +00:00
2024-02-08 21:14:07 +01:00
2021-01-05 12:39:53 +00:00
2021-01-05 12:39:53 +00:00
…
2021-01-05 12:39:53 +00:00
2021-01-05 12:39:53 +00:00
2021-01-05 12:39:53 +00:00
2021-01-05 12:39:53 +00:00

This directory contains tools only useful for testing and
demonstrating aspects of the tool syntax. Run the test driver script
'run_tests.sh' with the '-framework' as first argument to run through
these tests. Pass in an '-id' along with one of these tool ids to test
a single tool.

Some API tests use these tools to test various features of the API,
tool, and workflow subsystems. Pass the argument
'-with_framework_test_tools' to 'run_tests.sh' in addition to '-api'
to ensure these tools get loaded during the testing process.

Finally, to play around with these tools interactively - simply
replace the 'galaxy.ini' option 'tool_config_file' with:

tool_config_file = test/functional/tools/sample_tool_conf.xml