Skip to content

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Jan 31, 2020

I've got annoyed with trying to make this test pass. It uses "/events?dir=b"
which isn't even specced, but it seems to expect it to block until an event
arrives, which is (a) strange and (b) unreliable in a worker setup.

I've got annoyed with trying to make this test pass. It uses "events?dir=b"
which isn't even specced, but it seems to expect it to block until an event
arrives, which is (a) strange and (b) unreliable in a worker setup.
@richvdh richvdh requested a review from a team January 31, 2020 12:56
@@ -96,8 +96,8 @@ sub test_history_visibility
}

foreach my $i (
[ "Guest", sub { guest_user_fixture( with_events => 1 ) } ],
[ "Real", sub { local_user_fixture( with_events => 1 ) } ]
[ "Guest", sub { guest_user_fixture() } ],
Copy link
Member Author

Choose a reason for hiding this comment

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

guest_user_fixture doesn't do anything with its params

[ "Guest", sub { guest_user_fixture( with_events => 1 ) } ],
[ "Real", sub { local_user_fixture( with_events => 1 ) } ]
[ "Guest", sub { guest_user_fixture() } ],
[ "Real", sub { local_user_fixture() } ]
Copy link
Member Author

Choose a reason for hiding this comment

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

local_user_fixture does take a with-events param: it makes it call /events to initialise an eventstream_token field in the user... which we weren't using.

@richvdh richvdh merged commit a3396d3 into develop Jan 31, 2020
@richvdh richvdh deleted the rav/fix_flaky_history_test branch January 31, 2020 13:46
anoadragon453 added a commit that referenced this pull request Mar 23, 2020
…ease-v1.10.x

* origin/release-v1.10.0:
  remove checks on m.room.aliases (#801)
  Remove test which uses unspecced /events?dir=b (#794)
  Add some tests to check for adding/removing aliases (#792)
  Add test for ensuring power levels are correctly handled during upgrade (#777)
  Test that fetching device correctly resyncs (#791)
  Add support for experimental MSC2260 room version (#790)
  Fix power levels being sent as strings (#789)
  Don't respond with 503 as server will be marked as down. (#788)
  Test Synapse with MAU limits enabled. (#782)
  Fix docker/push.sh and make it echo commands
  Change postgres in docker image to use C collation/ctype. (#783)
  Add a passing test for recovery from gappy device list updates (#761)
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