-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Avoid timing issues in the integration tests #624
Conversation
Still failing when the grpc server is not ready. Need to check health of it too. |
Codecov Report
@@ Coverage Diff @@
## master #624 +/- ##
==========================================
+ Coverage 58.88% 59.02% +0.14%
==========================================
Files 30 30
Lines 2853 2858 +5
==========================================
+ Hits 1680 1687 +7
+ Misses 1010 1008 -2
Partials 163 163
Continue to review full report at Codecov.
|
e1d8b8c
to
d832094
Compare
examples/integration/main_test.go
Outdated
return err | ||
case <-t.C: | ||
return err | ||
case <-s.C: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use time.After to produce your timeout
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. Done.
d832094
to
3d1e328
Compare
Wait for the gateway server to get ready. #609 (comment)
3d1e328
to
63d6aa1
Compare
* Avoid timing issues in the integration tests Wait for the gateway server to get ready. grpc-ecosystem#609 (comment)
Wait for the gateway server to get ready.
#609 (comment)