Skip to content

Commit a68ec08

Browse files
committed
Remove awaitPartialStateJoinCompletion from Destroy
1 parent 8924c7a commit a68ec08

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

tests/msc3902/federation_room_join_partial_state_test.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4373,8 +4373,6 @@ func beginPartialStateJoin(t *testing.T, server *server, serverRoom *federation.
43734373

43744374
// Destroy cleans up the resources associated with the join attempt.
43754375
// It is idempotent and must be called once the test is finished.
4376-
// Specifically, it ensures that the partial state join completes and makes the joining user leave
4377-
// the room.
43784376
func (psj *partialStateJoinResult) Destroy(t *testing.T) {
43794377
if psj.fedStateIdsSendResponseWaiter != nil {
43804378
psj.fedStateIdsSendResponseWaiter.Finish()
@@ -4383,9 +4381,6 @@ func (psj *partialStateJoinResult) Destroy(t *testing.T) {
43834381
if psj.fedStateIdsRequestReceivedWaiter != nil {
43844382
psj.fedStateIdsRequestReceivedWaiter.Finish()
43854383
}
4386-
4387-
// FIXME: Can we remove?
4388-
awaitPartialStateJoinCompletion(t, psj.ServerRoom, psj.User)
43894384
}
43904385

43914386
// send a message into the room without letting the homeserver under test know about it.

0 commit comments

Comments
 (0)