Add timeout to remote handler#9475
Conversation
There was a problem hiding this comment.
non-blocking: should we have used a gogo annotation on this proto to automatically handle this conversion?
There was a problem hiding this comment.
Thanks for the link! Created istio/api#673 and we can wait for that to be checked in then update it here. master branch is locked anyway.
mixer/test/spybackend/nosession.go
Outdated
There was a problem hiding this comment.
we want this separation (between imports and istio-specific imports) still, right @mandarjog ?
There was a problem hiding this comment.
Recovered to what is was. IDE auto formatted it.
Codecov Report
@@ Coverage Diff @@
## release-1.1 #9475 +/- ##
==============================================
+ Coverage 63% 69% +6%
==============================================
Files 559 442 -117
Lines 51528 41333 -10195
==============================================
- Hits 32384 28176 -4208
+ Misses 17285 11750 -5535
+ Partials 1859 1407 -452
Continue to review full report at Codecov.
|
1611472 to
ca471ac
Compare
ca471ac to
4285f7f
Compare
|
We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google. |
|
This pull request has been automatically marked as stale because it has not had activity in the last 2 weeks. It will be closed in 30 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions! |
|
CLAs look good, thanks! |
b0446cf to
88781d1
Compare
|
/retest |
|
/retest |
|
/test e2e-dashboard |
|
/test e2e-dashboard |
|
@bianpengyuan: The following tests failed, say
DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
|
ptal? thanks! |
|
@douglas-reid all tests pass now, ptal? thanks! |
| } | ||
| elapse := time.Since(start) | ||
| if elapse > 20*time.Millisecond { | ||
| t.Errorf("want elapse time less than 20 milliseconds, got %v", elapse) |
There was a problem hiding this comment.
This probably won't work in race test setting? Under race testing, an interrupt can be placed anywhere in the test. That would cause the elapsed time to exceed the limit for unrelated reasons.
There was a problem hiding this comment.
Thanks for pointing this out! I guess I should give some headroom here to accommodate race test interruption? I raised it to 300ms The test adapter will sleep for 1 sec. As long as the elapse time is less 1 sec, timeout should be functioning.
|
@kyessenov @douglas-reid Can I get a lgtm? Thanks! |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bianpengyuan, douglas-reid The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
#9277