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

Regression test for https://github.com/element-hq/synapse/issues/16928 #710

Merged
merged 7 commits into from
May 2, 2024

Conversation

kegsay
Copy link
Member

@kegsay kegsay commented Feb 16, 2024

And some drive-by logging improvements, along with a new ServerRoom.WaiterForEvent(eventID) function which makes waiting for an event to arrive on the Complement server much much easier to write in code.

And some drive-by logging improvements, along with a new
`ServerRoom.WaiterForEvent(eventID)` function which makes
waiting for an event to arrive on the Complement server
much much easier to write in code.
@kegsay kegsay requested review from a team as code owners February 16, 2024 15:58
@richvdh
Copy link
Member

richvdh commented Feb 16, 2024

For linking: element-hq/synapse#16928

@@ -25,6 +26,7 @@ import (
// - Alice sends event E5 merging the forks.
// - Alice sync with timeline_limit=1 and a filter that skips E5
func TestSyncOmitsStateChangeOnFilteredEvents(t *testing.T) {
runtime.SkipIf(t, runtime.Dendrite) // S2 is put in the timeline, not state.
Copy link
Member

Choose a reason for hiding this comment

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

how? does dendrite ignore the limit?

Copy link
Member Author

Choose a reason for hiding this comment

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

I don't know, and I don't have the time to diagnose why unfortunately.

@erikjohnston erikjohnston merged commit 370a014 into main May 2, 2024
4 checks passed
@erikjohnston erikjohnston deleted the kegan/state-omitted-on-filtered-events branch May 2, 2024 14:52
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.

3 participants