Skip to content

fix flaky envoy integration tests involving intentions #8996

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

Merged
merged 3 commits into from
Oct 22, 2020

Conversation

rboyer
Copy link
Member

@rboyer rboyer commented Oct 20, 2020

There is a delay between an intentions change being made, and it being
reflected in the Envoy runtime configuration. Now that the enforcement
happens inside of Envoy instead of over in the agent, our tests need to
explicitly wait until the xDS reconfiguration is complete before
attempting to assert intentions worked.

@rboyer rboyer added the theme/testing Testing, and related enhancements label Oct 20, 2020
@rboyer rboyer added this to the 1.9 milestone Oct 20, 2020
@rboyer rboyer requested a review from a team October 20, 2020 21:17
@rboyer rboyer self-assigned this Oct 20, 2020
@github-actions github-actions bot removed the theme/testing Testing, and related enhancements label Oct 20, 2020
There is a delay between an intentions change being made, and it being
reflected in the Envoy runtime configuration. Now that the enforcement
happens inside of Envoy instead of over in the agent, our tests need to
explicitly wait until the xDS reconfiguration is complete before
attempting to assert intentions worked.

Also remove a few double retry loops.
Copy link
Contributor

@freddygv freddygv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢 🇮🇹

@rboyer rboyer merged commit 934c65a into master Oct 22, 2020
@rboyer rboyer deleted the fix-flaky-envoy-intention-tests branch October 22, 2020 19:30
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