matrix-org / sytest

Black-box integration testing for Matrix homeservers
Apache License 2.0
71 stars 55 forks source link

31sync/09archived: "Newly left rooms appear in the leave section of gapped sync": possible bug in not creating the filter properly #1309

Open ShadowJonathan opened 1 year ago

ShadowJonathan commented 1 year ago

https://github.com/matrix-org/sytest/blob/3871417ce99a406dda52e99dfeac32a222226b46/tests/31sync/09archived.pl#L185-L189

My IDE highlighted the $filter here as "not used";

image

It is possible that this might have caused this test to not run correctly for 7 years (since 2015)