Change room_fixture to run matrix_create_room_synced by default #848
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds an optional boolean parameter to
room_fixture
(and thus other fixtures that rely on it) calledsynced
which affects whethermatrix_create_room_synced
ormatrix_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 am.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.