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

Change room_fixture to run matrix_create_room_synced by default #848

Merged
merged 3 commits into from
Apr 9, 2020

Conversation

anoadragon453
Copy link
Member

@anoadragon453 anoadragon453 commented Apr 6, 2020

This PR adds an optional boolean parameter to room_fixture (and thus other fixtures that rely on it) called synced which affects whether matrix_create_room_synced or matrix_create_room is used when creating a room. This helps fix test /upgrade creates a new room which was flaky on worker mode. Reason being we weren't waiting for all room events to come down sync before upgrading the room (and then checking that a m.room.tombstone was the only new event in the timeline).

This is coupled with a Synapse PR which un-blacklists the above mentioned test: matrix-org/synapse#7228

This may allow us to unblacklist some other tests as well, although I currently don't know which ones. Presumably we can check with dendrite's show-expected-fail-tests.sh script. We should do that anyways.

@anoadragon453 anoadragon453 merged commit e2ce53f into develop Apr 9, 2020
@anoadragon453 anoadragon453 deleted the anoa/allow_upgrade_worker_sytests branch April 9, 2020 12:54
anoadragon453 added a commit that referenced this pull request Apr 27, 2020
…rite_whitelist_annotation

* 'develop' of github.com:matrix-org/sytest: (42 commits)
  Fix OFFLINE support for the sytest-synapse docker image (#858)
  Add support for running worker mode against redis (#857)
  route GET account_data requests to client_reader (#855)
  Test that users receive updates for their own devices (#854)
  Add tests for SSO + user interactive authentication. (#845)
  Modify login tests to be spec compliant
  Make message history pagination test less flaky (#851)
  Small comment fixes for consistency (#808)
  Change room_fixture to run matrix_create_room_synced by default (#848)
  Update dendrite docs with new whitelist/blacklist info (#849)
  Add test for querying remote public rooms list with local server_name (#847)
  Add more logging to "Guest user can set display names" (#846)
  Add test for updating room aliases on upgraded room join (#844)
  Add tests to ensure that the operation cannot be modified during interactive auth. (#830)
  fix the CAS login test (#829)
  Update NOT_FOUND error to BAD_ALIAS error to be spec compliant. (#837)
  Missing bits
  Use r0 instead of 'unstable' for joined_members|rooms
  Add test to optionally keep other sessions when modifying a user's password. (#832)
  Remove tests that call query_auth endpoint. (#827)
  ...
anoadragon453 added a commit that referenced this pull request Jun 10, 2020
…into dinsic

* 'release-v1.13.0' of https://github.com/matrix-org/sytest: (23 commits)
  Dendrite: Show sytest compliance report after sytest runs (#864)
  Provide some examples of running sytest with worker mode synapse (#862)
  Fix build, don't build into source directory
  Maybe this time
  Better
  Just build the monolith server when testing
  Test for sending to_device messages to multiple recipients at once (#856)
  Mention required debian and cpan dependencies (#859)
  Add whitelist information to dendrite buildkite annotation (#803)
  Fix OFFLINE support for the sytest-synapse docker image (#858)
  Add support for running worker mode against redis (#857)
  Add tests for SSO + user interactive authentication. (#845)
  Modify login tests to be spec compliant
  Make message history pagination test less flaky (#851)
  Small comment fixes for consistency (#808)
  Change room_fixture to run matrix_create_room_synced by default (#848)
  Update dendrite docs with new whitelist/blacklist info (#849)
  Add test for querying remote public rooms list with local server_name (#847)
  Add more logging to "Guest user can set display names" (#846)
  Add test for updating room aliases on upgraded room join (#844)
  ...
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