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

fixed incorrect test validation with peering test #3330

Merged

Conversation

wilkermichael
Copy link
Contributor

@wilkermichael wilkermichael commented Dec 8, 2023

  • test was performing the wrong connection check, since http should be checking for a '403'
  • added cluster creation in parallel to speed up peering tests

Changes proposed in this PR

How I've tested this PR

How I expect reviewers to test this PR

Checklist

- test was performing the wrong connection check, since http should be checking for a '403'
- added cluster creation in parallel to speed up test
@@ -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)
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 was the line causing the issue with the test. It should be checking for 403

@wilkermichael wilkermichael changed the title fixed flake with peering test fixed incorrect test validation with peering test Dec 8, 2023
@wilkermichael wilkermichael added backport/1.3.x This release branch is no longer active. pr/no-changelog PR does not need a corresponding .changelog entry labels Dec 8, 2023
Copy link
Contributor

@t-eckert t-eckert left a comment

Choose a reason for hiding this comment

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

This is great! It'll make the tests run faster too!

@wilkermichael wilkermichael merged commit 84df1ba into main Dec 11, 2023
@wilkermichael wilkermichael deleted the mw/NET-5808-fix-peering-enable-tproxy-acceptance branch December 11, 2023 18:16
sarahalsmiller pushed a commit that referenced this pull request Jan 5, 2024
fixed flake with peering test
- test was performing the wrong connection check, since http should be checking for a '403'
- added cluster creation in parallel to speed up test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/1.3.x This release branch is no longer active. pr/no-changelog PR does not need a corresponding .changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants