Skip to content

Commit

Permalink
Remove unnecssary hack
Browse files Browse the repository at this point in the history
the resync cannot complete until we call FinishStateRequest
  • Loading branch information
David Robertson committed Feb 17, 2023
1 parent 64c039d commit 2d451f2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/federation_room_join_partial_state_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3444,9 +3444,6 @@ func TestPartialStateJoin(t *testing.T) {
leaveCompleted.Finish()
}()

// We want Synapse to receive the leave before its resync completes.
// HACK: Use a sleep to try and ensure this.
time.Sleep(250 * time.Millisecond)
t.Log("The resync finishes")
psjResult.FinishStateRequest()

Expand Down

0 comments on commit 2d451f2

Please sign in to comment.