integration-test: latest test are processed with batch block #579
Open
lupin012 wants to merge 7 commits into
Open
integration-test: latest test are processed with batch block #579lupin012 wants to merge 7 commits into
lupin012 wants to merge 7 commits into
Conversation
When running -L with a live reference node (-e/-d), tests are now dispatched in batches of N (default 50) with a sync check before each batch. N=0 keeps the previous behaviour (single sync then all at once). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
If a batch has failures and the run is not already aborting, reset the batch index to 0 so all tests re-run from a fresh sync. The natural stop conditions (-M max failures, ExitOnFail) still apply. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Makes it immediately visible whether a batch belongs to the first run or a retry triggered by a previous failure. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Check ctx cancellation and max-failures at the start of each iteration rather than burying them inside the restart condition, making control flow easier to follow. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Give the testbed node more time to catch up with the reference node before declaring sync failure. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
When a batch fails and we restart from attempt 1, restore stats and report entries to their pre-attempt snapshot so the final summary reflects only the last complete attempt, not accumulated counts from previous failed attempts. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
When a latest-block batch has test failures, stop immediately and exit with code 1 instead of restarting internally. The shell retry loop handles re-running from batch 1, which keeps the retry logic in one place and avoids the potential infinite-loop of unbounded internal attempts. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
When running -L with a live reference node (-e/-L), tests are now dispatched in batches of N (default 50) with a sync check before each batch. N=0 keeps the previous behaviour (single sync then all at once).