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

e2e: do not import pkg/daemon #3055

Merged
merged 3 commits into from
Jul 24, 2023
Merged

Conversation

zhangzujian
Copy link
Member

@zhangzujian zhangzujian commented Jul 19, 2023

What type of this PR

  • Tests

Which issue(s) this PR fixes:

Fixes #(issue-number)

WHAT

🤖 Generated by Copilot at da445bf

Refactor iptables constants to util package and use them in daemon and pod packages. This improves code readability, maintainability, and testability.

🤖 Generated by Copilot at da445bf

We'll haul away the daemon code, me hearties, yo ho!
We'll use the util package for the iptables show
We'll make the rules more clear and neat, me hearties, yo ho!
We'll test the tproxy on the pod, and away we go!

HOW

🤖 Generated by Copilot at da445bf

  • Move iptables constants from daemon package to util package to avoid duplication and improve readability (link, link, link)
  • Replace references to daemon package with util package in test/e2e/kube-ovn/pod/vpc_pod_probe.go to use the moved constants (link, link, link, link, link)

@zhangzujian zhangzujian merged commit d8e59ab into kubeovn:master Jul 24, 2023
58 checks passed
@zhangzujian zhangzujian deleted the fix-e2e branch July 24, 2023 04:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test automation tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants