Repository navigation
test: make the eventually tests independent of the agent speed - #1035
Merged
Merged
Conversation
vbreuss
enabled auto-merge (squash)
September 6, 2026 18:51
Contributor
Contributor
🚀 Benchmark ResultsDetails
|
Contributor
👽 Mutation ResultsaweXpectDetails
The final mutation score is NaN%Coverage Thresholds: high:80 low:60 break:0aweXpect.CoreDetails
The final mutation score is NaN%Coverage Thresholds: high:80 low:60 break:0 |
vbreuss
disabled auto-merge
September 6, 2026 19:04
`DefaultCheckInterval_ShouldDetermineTheNumberOfEvaluations` asserted at least two evaluations, which a build agent cannot guarantee: when the first evaluation alone uses up the one second retry budget - a cold and busy agent JITs the whole expectation pipeline on the way - the subject is evaluated once and the assertion fails. The upper bound is what the test is about: a 200ms check interval within a one second budget allows at most six evaluations, while an ignored interval would evaluate the subject far more often. How many of the six a machine reaches is a property of that machine, not of the check interval. `WhenCancelledDuringTheWaitThatConsumesTheTimeout_ShouldBeInconclusive` was skipped while the cancellation of a wait could be observed after the retry budget had expired. That race is fixed (#1034), so it runs again.
vbreuss
force-pushed
the
chore/unskip-eventually-cancellation-test
branch
from
September 6, 2026 19:14
191fea2 to
3f6b4bd
Compare
vbreuss
enabled auto-merge (squash)
September 6, 2026 19:18
|
github-actions Bot
added a commit
that referenced
this pull request
Sep 6, 2026
…dent of the agent speed (#1035) by Valentin Breuß
github-actions Bot
added a commit
that referenced
this pull request
Sep 6, 2026
…dent of the agent speed (#1035) by Valentin Breuß
Contributor
|
This is addressed in release v2.38.0. |
This was referenced Sep 14, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.



DefaultCheckInterval_ShouldDetermineTheNumberOfEvaluationsasserted at least two evaluations, which a build agent cannot guarantee: when the first evaluation alone uses up the one second retry budget - a cold and busy agent JITs the whole expectation pipeline on the way - the subject is evaluated once and the assertion fails. The upper bound is what the test is about: a 200ms check interval within a one second budget allows at most six evaluations, while an ignored interval would evaluate the subject far more often. How many of the six a machine reaches is a property of that machine, not of the check interval.WhenCancelledDuringTheWaitThatConsumesTheTimeout_ShouldBeInconclusivewas skipped while the cancellation of a wait could be observed after the retry budget had expired. That race is fixed (#1034), so it runs again.