Skip to content
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

Fix Some Flakey Tests #3304

Closed
wants to merge 3 commits into from

Conversation

wilkermichael
Copy link
Contributor

@wilkermichael wilkermichael commented Dec 5, 2023

Changes proposed in this PR:

  • This PR attempts to make the peering test and sameness test less flaky
  • Also added in some parallelism enhancements from my sameness test to make peering run a bit faster.

How I've tested this PR:

  • 👀

How I expect reviewers to test this PR:
👀

Checklist:

@wilkermichael wilkermichael added pr/no-backport signals that a PR will not contain a backport label pr/no-changelog PR does not need a corresponding .changelog entry labels Dec 5, 2023
@wilkermichael wilkermichael changed the title investigate flakey tests DROP Fix Flakey Tests Dec 5, 2023
@wilkermichael wilkermichael force-pushed the mw/NET-5808-1-18-pipeline-flaky-tests branch 3 times, most recently from 757e724 to 85ee862 Compare December 7, 2023 22:58
@@ -350,7 +368,7 @@ func TestPeering_Connect(t *testing.T) {
// If ACLs are enabled, test that deny intentions prevent connections.
if c.ACLsEnabled {
logger.Log(t, "testing intentions prevent connections through the terminating gateway")
k8s.CheckStaticServerConnectionFailing(t, staticClientOpts, staticClientName, externalServerHostnameURL)
k8s.CheckStaticServerHTTPConnectionFailing(t, staticClientOpts, staticClientName, externalServerHostnameURL)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@t-eckert this is the fix for the flake we talked about

@wilkermichael wilkermichael marked this pull request as ready for review December 7, 2023 23:10
@wilkermichael wilkermichael changed the title Fix Flakey Tests Fix Some Flakey Tests Dec 7, 2023
@wilkermichael wilkermichael force-pushed the mw/NET-5808-1-18-pipeline-flaky-tests branch 2 times, most recently from b78156c to 9a89883 Compare December 8, 2023 00:09
- test was performing the wrong connection check, since http should be checking for a '403'
- added cluster creation in parallel to speed up test
@wilkermichael wilkermichael force-pushed the mw/NET-5808-1-18-pipeline-flaky-tests branch from 9a89883 to e7cee85 Compare December 8, 2023 16:08
@wilkermichael
Copy link
Contributor Author

I'm moving the fix for the transparent proxy test error to a different PR

@wilkermichael wilkermichael deleted the mw/NET-5808-1-18-pipeline-flaky-tests branch December 20, 2023 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr/no-backport signals that a PR will not contain a backport label pr/no-changelog PR does not need a corresponding .changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant