Skip to content

feat(systemtests): add per-test max_time override for precice-config closes#402#738

Open
PranjalManhgaye wants to merge 1 commit intoprecice:developfrom
PranjalManhgaye:issue-402-max-time-override
Open

feat(systemtests): add per-test max_time override for precice-config closes#402#738
PranjalManhgaye wants to merge 1 commit intoprecice:developfrom
PranjalManhgaye:issue-402-max-time-override

Conversation

@PranjalManhgaye
Copy link
Contributor

@PranjalManhgaye PranjalManhgaye commented Mar 2, 2026

This PR adds support for an optional max_time field per tutorial entry in tools/tests/tests.yaml.
TestSuite parses max_time and passes it to each Systemtest instance as max_time.
Before running a test, Systemtest now optionally overrides in the copied precice-config.xml, if max_time is set and exists.
No existing tutorials or reference results are modified; the PR only adds the override mechanism, so behavior is unchanged unless a max_time entry is added in tests.yaml.
This is complementary to PR #734, which adds a wall‑clock --timeout for the systemtest subprocess; this PR implements the config‑level restriction requested in #402.

Checklist:

  • I added a summary of any user-facing changes (compared to the last release) in the changelog-entries/<PRnumber>.md.
  • I will remember to squash-and-merge, providing a useful summary of the changes of this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant