Skip to content
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

Reset event stream unit test #175

Merged
merged 16 commits into from
Oct 31, 2021
Merged

Reset event stream unit test #175

merged 16 commits into from
Oct 31, 2021

Conversation

huan
Copy link
Member

@huan huan commented Oct 31, 2021

I have cherry-picked the unit test to this PR to confirm that this test can fail with our current code base so that we can confirm that this is the problem.

windmemory and others added 16 commits July 25, 2021 12:32
1. grpcStream method will not fail even if stream does not exist; 2.
grpcStream might exist even if grpcClient does not

✅ Closes: #172
  I think it's better to warn and recreate stream since the upper level
bot does not have direct access to these private method to handle it
properly.

✅ Closes: #172
as we close stream in the previos commit, start with event stream should
never happen, thus if somehow this happened, an exception shold be
thrown
@huan huan merged commit a764bd2 into main Oct 31, 2021
@huan huan deleted the reset-event-stream-unit-test branch October 31, 2021 03:47
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.

3 participants