Skip to content

Commit

Permalink
Update tests/federation_to_device_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Till <[email protected]>
  • Loading branch information
kegsay and S7evinK authored Nov 27, 2023
1 parent ddc17d6 commit 96055c9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/federation_to_device_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ func TestToDeviceMessagesOverFederation(t *testing.T) {

// servers may need to be poked with another to-device msg. This isn't great.
// See https://github.com/matrix-org/synapse/issues/16680
// bob has a sync timeout of 30s set, so if the test has not yet passed, we are kicking the server
// after 10s to ensure the server processes the previous sent to-device message.
var completed atomic.Bool
go func() {
time.Sleep(10 * time.Second)
Expand Down

0 comments on commit 96055c9

Please sign in to comment.