Repository navigation
fix: v0.9.4 flaky test and replay wait - #41
Merged
Merged
Conversation
The fake HTTP servers answered after one read and closed with some of the request unread, so the OS reset the connection and the client saw no answer. rpc's test failed 140 times in 300 runs, and once in the v0.9.3 release check.
A replay logs a different line for each block, and 186k blocks took 34 minutes, so the hour cap would fail a devnet left running for a few days. A sequencer stuck retrying an error only repeats lines it logged lately, which now counts as quiet. The cap stays only as a last resort, at 4 hours.
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.
Two follow-ups to v0.9.3: a flaky test that failed its release check, and a wait cap too short for a long-lived devnet.
changes:
rpc::tests::reads_a_transactions_blockfailed 140 times in 300 runs, and 0 in 300 nowupjudges a starting sequencer by its last log line without the time. A line among its 32 most recent counts as nothing new, so a sequencer stuck retrying an error fails after 180 s, while a replay, with a different line per block, keeps going0.9.4