Commit Graph
7 Commits
Author SHA1 Message Date
Matthias Bernt 0c186b227e fix test 2025-03-26 18:07:57 +01:00
Matthias Bernt ef72ecbb66 remove tool test assertions 2025-03-26 17:37:17 +01:00
Matthias Bernt 5b017b240f fix test
tool fails with no env var set
failing tool tests allow no output
2025-03-26 13:52:29 +01:00
Matthias Bernt 0247be1866 fix test tool test 2025-03-26 13:52:22 +01:00
Matthias Bernt 70bfcc44dc fix resubmission integration test
the test `test/integration/test_job_resubmission.py::TestJobResubmissionToolDetectedErrorResubmitsIntegration`
resubmits with:

```
        <destination id="local_resubmit" runner="local">
            <env id="GX_TARGET_EXIT_CODE">4</env>
            <resubmit condition="tool_detected_failure" destination="local_good" />
        </destination>

        <destination id="local_good" runner="local">
            <env id="GX_TARGET_EXIT_CODE">0</env>
        </destination>
```

since env variables are lost on resubmission the current test
was still evaluated successful (because `${GX_TARGET_EXIT_CODE:-0}`).
Now the test fails if `GX_TARGET_EXIT_CODE` is not set.
2025-03-26 13:52:08 +01:00
Nicola Soranzo 2c9e89a398 Lint a bunch of test tools 2021-01-05 12:39:53 +00:00
John Chilton a2b7521140 Fix resubmission on tool error detection.
Parts of this were wired up before but pieces were missing and so it was broken.
2018-11-23 14:32:04 +01:00