Skip to content

Commit

Permalink
Deflake faster joins tests by leaving rooms as part of test cleanup (#…
Browse files Browse the repository at this point in the history
…626)

Many of the faster joins test flakes are due to the homeserver under
test failing to contact Complement homeservers after they have been
torn down. When this happens, subsequent tests can fail if they use a
Complement homeserver that happens to have the same hostname:port as one
which the homeserver under test has previously marked as offline.

Make the homeserver under test leave rooms at the end of each test, so
that it stops trying to contact the Complement homeservers in the room.

Signed-off-by: Sean Quah <seanq@matrix.org>
  • Loading branch information
squahtx authored Mar 15, 2023
1 parent cfee65f commit 328f5be
Showing 1 changed file with 241 additions and 181 deletions.
Loading

0 comments on commit 328f5be

Please sign in to comment.