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

Fix an out of bounds error in TestSync 'sync should succeed even if the sync token points to a redaction of an unknown event' #427

Merged
merged 2 commits into from
Jul 27, 2022

Conversation

reivilibre
Copy link
Contributor

When no events are received in the sync window, it tries to access index -1 and panics.

This mitigates that and also adds some log lines which might be useful in tracking down another flake that occurs rarely.

@reivilibre reivilibre marked this pull request as ready for review July 25, 2022 18:02
@reivilibre reivilibre requested review from a team as code owners July 25, 2022 18:02
@reivilibre reivilibre merged commit d041f19 into main Jul 27, 2022
@reivilibre reivilibre deleted the rei/sync_logs_and_fixes branch July 27, 2022 10:28
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