Skip to content

Commit

Permalink
Wait for responses to be processed
Browse files Browse the repository at this point in the history
  • Loading branch information
S7evinK committed Aug 2, 2023
1 parent 5846873 commit 2ced198
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests-integration/extensions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -740,6 +740,10 @@ func TestTypingMultiplePoller(t *testing.T) {
},
})

// Wait for the queued responses to be processed.
v2.waitUntilEmpty(t, aliceToken)
v2.waitUntilEmpty(t, bobToken)

// Check that only Bob is typing and not Charlie.
for _, token := range []string{aliceToken, bobToken} {
pos := aliceRes.Pos
Expand Down

0 comments on commit 2ced198

Please sign in to comment.