-
Notifications
You must be signed in to change notification settings - Fork 10.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix flaky test: End2endServerTryCancelTest.ResponseStreamServerCancelAfter #5493
Conversation
All the relevant tests passed. |
Fix flaky test: End2endServerTryCancelTest.ResponseStreamServerCancelAfter
Wait, what signal is this test giving us now? Isn't expect_le essentially a On Tue, Mar 1, 2016, 10:43 AM Yang Gao notifications@github.com wrote:
|
That is true! :) - With this PR, I guess this is looking even more redundant (previously, there were not many I guess the only value is in CANCEL_BEFORE_PROCESSING case where we do I will rewrite the test to clean up these redundant checks.. |
I'm not suggesting rewriting the code to eliminate redundant checks. I'm On Tue, Mar 1, 2016, 11:37 AM Sree Kuchibhotla notifications@github.com
|
Understood. The actual intent of those test cases (in those cases where we had EXPECT_LE checks) was to somehow verify that the RPC was successfully cancelled in parallel while the request was being processed by the server (or client). Other than verifying that the RPC does in fact get cancelled at the end (and also manually verifying - across several repeated test runs - that the client/server are processing a random number of messages between [0 to num_of_intended_msgs]), I cannot think of any other way to do this :(.. |
Probably worth filing an issue and thinking about it further down the road. It seems like a problem someone will solve in the middle of a deep sleep in On Tue, Mar 1, 2016 at 12:39 PM Sree Kuchibhotla notifications@github.com
|
Yeah. Created: #5520 |
Fix for #5481