Skip to content

Commit

Permalink
Ensure we detect matrix-org/synapse#13684
Browse files Browse the repository at this point in the history
  • Loading branch information
David Robertson committed Oct 11, 2022
1 parent 0300eb7 commit 7331ebc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/federation_room_join_partial_state_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,14 @@ func TestPartialStateJoin(t *testing.T) {
}
psjResult.Server.MustSendTransaction(t, deployment, "hs1", []json.RawMessage{}, []gomatrixserverlib.EDU{edu})

// Alice should still be able to see incoming PDUs in the room during
// the resync; the earlier EDU shouldn't interfere with this.
// (See https://github.com/matrix-org/synapse/issues/13684)
event := psjResult.CreateMessageEvent(t, "charlie", nil)
serverRoom.AddEvent(event)
server.MustSendTransaction(t, deployment, "hs1", []json.RawMessage{event.JSON()}, nil)
awaitEventViaSync(t, alice, serverRoom.RoomID, event.EventID(), "")

psjResult.FinishStateRequest()
alice.MustSyncUntil(t,
client.SyncReq{},
Expand Down

0 comments on commit 7331ebc

Please sign in to comment.