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

De-flake TestFileStoreCorruptPSIMOnDisk #6120

Merged
merged 1 commit into from
Nov 13, 2024
Merged

De-flake TestFileStoreCorruptPSIMOnDisk #6120

merged 1 commit into from
Nov 13, 2024

Conversation

neilalexander
Copy link
Member

Using crand was unpredictable because it might produce bytes that are a valid subject and therefore we wouldn't notice the problem in recoverFullState. Dropping in a UTF-8 rune error trips the detection always and is therefore more reliable.

Signed-off-by: Neil Twigg [email protected]

Using `crand` was unpredictable because it might produce bytes that are
a valid subject and therefore we wouldn't notice the problem in
`recoverFullState`. Dropping in a UTF-8 rune error trips the detection
always and is therefore more reliable.

Signed-off-by: Neil Twigg <[email protected]>
@neilalexander neilalexander requested a review from a team as a code owner November 13, 2024 12:49
Copy link
Member

@derekcollison derekcollison left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@derekcollison derekcollison merged commit 0845914 into main Nov 13, 2024
5 checks passed
@derekcollison derekcollison deleted the neil/deflake2 branch November 13, 2024 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants