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

refactor: make qos test cases parallel #2957

Merged
merged 1 commit into from
Jun 25, 2023

Conversation

shane965
Copy link
Contributor

@shane965 shane965 commented Jun 19, 2023

Split test cases to make them run in parallel.
Reduce running time from 9 minutes to 4 minutes when iperf test is enabled.

What type of this PR

Examples of user facing changes:

  • Tests

Which issue(s) this PR fixes:

Fixes #(issue-number)

WHAT

🤖 Generated by Copilot at d650075

Refactored the code for generating statefulset names for vpc nat gateways and improved the e2e tests. Moved the genNatGwStsName function from the controller package to the util package and renamed it to GenNatGwStsName. Used the util.GenNatGwStsName function in vpc_nat_gateway.go and gc.go. Added a WaitGwPodReady function to the framework package and modified the CreateSync function in vpc-nat-gw.go.

🤖 Generated by Copilot at d650075

Sing, O Muse, of the code that was refactored
By the skillful programmers, who sought to enhance
The controller package, and moved to util
The function GenNatGwStsName, swift as a winged arrow.

HOW

🤖 Generated by Copilot at d650075

@shane965 shane965 force-pushed the refactor-qos-policy branch 4 times, most recently from 49c5699 to 3711b1f Compare June 20, 2023 08:24
test/e2e/iptables-vpc-nat-gw/e2e_test.go Outdated Show resolved Hide resolved
Split test cases to make them run in parallel.
Reduce running time from 9 minutes to 4 minutes when iperf test is enabled.
@bobz965
Copy link
Collaborator

bobz965 commented Jun 20, 2023

@zhangzujian, hi, could you help review this e2e ?

@bobz965 bobz965 merged commit e558702 into kubeovn:master Jun 25, 2023
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