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

Stop on failure when running on parallel #367

Merged
merged 6 commits into from
Oct 12, 2024

Conversation

Chemaclass
Copy link
Member

@Chemaclass Chemaclass commented Oct 12, 2024

📚 Description

Fixes: #363

The stop on failure flag is not working properly as each test is running on its own (child) process.

🔖 Changes

  • Create a temp file ($TEMP_DIR_PARALLEL_TEST_SUITE/.stop-on-failure) that all child processes will check, and if it exists then they will stop.

✅ To-do list

  • I updated the CHANGELOG.md to reflect the new feature or fix

🖼️ Screenshots

Normal failure when running on parallel

Screenshot 2024-10-12 at 19 32 11

Stop on failure running on parallel

Screenshot 2024-10-12 at 19 33 16

in this case there will be some dots afterwards as they are the parallel processes finishing with their current test 🔧

@Chemaclass Chemaclass added the enhancement New feature or request label Oct 12, 2024
@Chemaclass Chemaclass self-assigned this Oct 12, 2024
@Chemaclass Chemaclass merged commit 98c326b into main Oct 12, 2024
13 checks passed
@Chemaclass Chemaclass deleted the feat/363-stop-on-failure-when-running-on-parallel branch October 12, 2024 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Stop on failure when running on parallel
2 participants