Skip to content

test: Fix admission control integration test flakiness#17114

Merged
alyssawilk merged 3 commits intoenvoyproxy:mainfrom
tonya11en:fix_admctl_test2
Jun 28, 2021
Merged

test: Fix admission control integration test flakiness#17114
alyssawilk merged 3 commits intoenvoyproxy:mainfrom
tonya11en:fix_admctl_test2

Conversation

@tonya11en
Copy link
Copy Markdown
Member

Fix admission control integration test flakiness

Merging #16742 added the default upper-bound of 80% on rejection probability, which results in a slower convergence of the observed rejection rate to what we expect. I hacked up a script to see the variability of the error for 300 requests across 1000 tests:
image

As the upper-bound drops, the variance in observed errors increases. I expect there to have been around ~20% flakiness in those tests since the patch was merged. Increasing the allowed error to 10% as you did in #17084 would still probably yield some flakiness...

I think the best option here is to just increase the rejection upper-bound to 100% in the test and leave the allowed absolute error at 10% to put this thing to rest.

This is a test-only change, so foregoing most of the template.
Fixes #17067

Signed-off-by: Tony Allen <tony@allen.gg>
Signed-off-by: Tony Allen <tony@allen.gg>
@alyssawilk
Copy link
Copy Markdown
Contributor

Hm, something looks unhappy. Will tag as waiting until you've had a chance to check out CI!
/wait

Signed-off-by: Tony Allen <tony@allen.gg>
@alyssawilk alyssawilk merged commit dfef049 into envoyproxy:main Jun 28, 2021
chrisxrepo pushed a commit to chrisxrepo/envoy that referenced this pull request Jul 8, 2021
)


Signed-off-by: Tony Allen <tony@allen.gg>
Signed-off-by: chris.xin <xinchuantao@qq.com>
leyao-daily pushed a commit to leyao-daily/envoy that referenced this pull request Sep 30, 2021
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.

flake on IpVersions/AdmissionControlIntegrationTest.GrpcTest/1 in admission_control_integration_test

3 participants