-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix TestReliableMessageProtocol timing bug.
We could end up retransmitting a message due to losing the timeslice when we only meant to send it once. The fix is to make our stopping and starting of the reliable message manager timer in the test a lot less ad-hoc: we stop it whenever we block sending an ack (so that the other side will not retransmit), then restart it when we want to allow acks again (because at that point we want to make sure we retransmit things as needed). Fixes #27810
- Loading branch information
1 parent
a2a3712
commit 2b948fb
Showing
1 changed file
with
56 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters