Repository navigation
Await dynamic tests when a node's execution fails #6142
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
Merged
mpkorstanje
merged 8 commits into
junit-team:main
from
IWillBurn:fix/parallel-await-dynamic-tests-on-failure
Oct 9, 2026
Merged
Changes from 1 commit
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
44033cb
Await dynamic tests of a node whose execution failed
IWillBurn e8e860e
Await dynamic tests before after-each hooks when a test factory fails
IWillBurn 5ece28c
Use latches instead of sleeps in tests
IWillBurn 2351dd4
Replace end-to-end tests with deterministic unit tests
IWillBurn 4f194d9
Clarify when the latch in the test is released
IWillBurn 0656e76
Remove unnecessary count down
mpkorstanje 8a799cc
Remove unnecessary count down
mpkorstanje b75abb0
Rename latch for clarity
mpkorstanje File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Replace end-to-end tests with deterministic unit tests
The end-to-end tests could not reliably fail without the fix: a dynamic test can only be released when the source fails, after which it races with its parent. The unit tests release the dynamic test only once its node either awaits it or calls after(), and verify that a test factory awaits its dynamic tests when its stream fails. Issue: #6141 Signed-off-by: IWillBurn <eugene.boyarnikov@gmail.com>
- Loading branch information
commit 2351dd4690ee5e996593fec7a3ca94ad32bb2142
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.