Repository navigation
Conversation
…stead of reading it at once
4 of 11 tasks
Collaborator
|
Shipped in the 0.2.94 release via #1046. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed and why
an_activity_a_stage_and_a_soundboard_are_part_of_a_discord_voice_channelread the gateway frame it checks at the moment chatd answered. The test had pushed the guild's sounds before chatd asked for them, so chatd sent its request (opcode 31) and answered at once, and the fake's reader thread had not recorded that frame yet. Onmain(d2cea1d) the test fails three times out of three when it is run alone on Windows, with "the guild soundboard was asked for". It now waits for the frame, up to the 15 seconds the other waits in this file allow, and checks that it names the guild.Type
Platforms
Proof
No scenario: only a test changed and nothing changes for the user. Run on this branch on Windows before this pull request:
cargo build --workspace --all-targets --features tinyclient/gui, thencargo nextest run --workspace --features tinyclient/gui(3678 passed, 28 skipped, the changed test among them), thencargo test --workspace --doc --features tinyclient/gui.Compatibility
No protocol change.
Risk and rollback
Only a test waits where it read at once. Revert the commit.
Release note
None.
Part of #1026 (TCI-8: tests that pass only on a retry).