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

Leaves are present in non-gapped incremental syncs is flaky #1045

Closed
richvdh opened this issue May 16, 2021 · 4 comments · Fixed by #1146
Closed

Leaves are present in non-gapped incremental syncs is flaky #1045

richvdh opened this issue May 16, 2021 · 4 comments · Fixed by #1146
Assignees
Labels
Z-Flaky Tests which seem to fail at random

Comments

@richvdh
Copy link
Member

richvdh commented May 16, 2021

see https://github.com/matrix-org/synapse/runs/2585833072?check_suite_focus=true

@richvdh richvdh added the Z-Flaky Tests which seem to fail at random label May 16, 2021
@clokep
Copy link
Member

clokep commented Aug 5, 2021

@clokep
Copy link
Member

clokep commented Aug 17, 2021

@clokep
Copy link
Member

clokep commented Aug 18, 2021

@clokep
Copy link
Member

clokep commented Aug 26, 2021

@richvdh richvdh self-assigned this Sep 22, 2021
richvdh added a commit that referenced this issue Sep 22, 2021
richvdh added a commit that referenced this issue Sep 22, 2021
* Deflake `Old leaves are present in gapped incremental syncs`

Hopefully, deflake this, by making sure that all of Bob's events hit the
synchrotron before trying to sync from Alice.

Fixes #1037

* Deflake `Gapped incremental syncs include all state changes`

Give this one the same treatment.

Fixes #1043.

* Deflake `Leaves are present in non-gapped incremental syncs`

Another case of the same.

Fixes #1045

* Update `The only membership state in initial sync`...

This is non-functional, just a cleanup:

 * use `send_filler_messags_synced` instead of a loop
 * use `check_filler_event` instead of a local definition
 * fix a warning `Use of uninitialized value in numeric eq (==)`
 * use `die` instead of `croak`, given we want to log the right line number.

* Use `matrix_send_filler_messages_synced` elsewhere

... for consistency, and because it's shorter.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Z-Flaky Tests which seem to fail at random
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants