-
Couldn't load subscription status.
- Fork 1.2k
Deflake TestProbePodIPs #16201
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
Deflake TestProbePodIPs #16201
Conversation
|
Welcome @ali-a-a! It looks like this is your first PR to knative/serving 🎉 |
|
Hi @ali-a-a. Thanks for your PR. I'm waiting for a github.com member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions 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-sigs/prow repository. |
|
/ok-to-test |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #16201 +/- ##
==========================================
+ Coverage 79.97% 80.06% +0.09%
==========================================
Files 214 214
Lines 13281 13281
==========================================
+ Hits 10621 10633 +12
+ Misses 2299 2292 -7
+ Partials 361 356 -5 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
/retest |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ali-a-a, dprotaso The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest |
Fixes #16185
Proposed Changes
Currently, in this test case, the synthetic delay for probing the pod is 250 ms, and the probe timeout is 300 ms. It makes the test flaky when the test runner is under load. We can decrease (or remove) the delay to deflake the test.
Also, to verify that it is the reason for flakiness, I ran some stress tests on TestProbePodIPs before and after the change:
250ms delay:
100ms delay:
NOTE: I still don't know the purpose of using a delay in this test case. If it is not necessary, we can just remove it, as even 100 ms of delay can cause flakiness.
Release Note