Skip to content

Conversation

@JamesNK
Copy link
Member

@JamesNK JamesNK commented May 18, 2023

Fix failure noticed here - #2131 (comment)

@JamesNK
Copy link
Member Author

JamesNK commented May 23, 2023

Please review 🙏

CancellationToken.None).AsTask().DefaultTimeout();

Assert.IsFalse(pickTask2.IsCompleted);
Assert.IsFalse(pickTask2.IsCompleted, "PickAsync should wait until an subchannel is ready.");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't get it. You wait for subchannels to be ready, assert that PickAsync doesn't complete, and then say PickAsync shouldn't complete until subchannels are ready. (Also, the grammar is wrong in the sentence, I assume you mean "any subchannels are ready" or "a subchannel is ready")

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah wait, now I understand, the expectedCount value is 0, maybe use named params.

@JamesNK JamesNK merged commit 6bc44e9 into grpc:master May 25, 2023
@JamesNK JamesNK deleted the jamesnk/streaming-test-flaky-status branch May 25, 2023 03:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants