Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests can fail when running in paralllel #342

Open
equinor-ruaj opened this issue Sep 9, 2024 · 0 comments
Open

Tests can fail when running in paralllel #342

equinor-ruaj opened this issue Sep 9, 2024 · 0 comments

Comments

@equinor-ruaj
Copy link
Contributor

A recent change in the aggregation service does not allow starting a bulk aggregation job if there already exists a job on a given caseUuid + iteration combination.
Check added in this PR: https://github.com/equinor/sumo-fmu-aggregation-service/pull/288/files#diff-348e061a43670d82a0962ab0417486aa253a20533739cad241348169f0bc2ca1R125-R129

Multiple tests in .github/workflows start bulk aggregation, often using the same case and iteration.
Some of these tests may fail if a parallel test started a bulk aggregation right before it.

Possible fixes:

  • Ensure the tests use separate case + iteration combinations
  • Or run the tests in serial
  • Or if error is that a batch job already exists, wait
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

No branches or pull requests

1 participant