-
Notifications
You must be signed in to change notification settings - Fork 108
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
Release Blocker? Disable IPv6 tests when $ZEBRA_SKIP_IPV6_TESTS is set #2405
Conversation
This allows users to disable IPv6 tests in environments where IPv6 is not configured.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. I added one suggestion that's minor.
fastmod '"ZEBRA_SKIP_NETWORK_TESTS"' zebra_test::net::ZEBRA_SKIP_NETWORK_TESTS fastmod '"ZEBRA_SKIP_IPV6_TESTS"' zebra_test::net::ZEBRA_SKIP_IPV6_TESTS
fastmod --fixed-strings 'env::var_os(zebra_test::net::ZEBRA_SKIP_NETWORK_TESTS).is_some()' 'zebra_test::net::zebra_skip_network_tests()' fastmod --fixed-strings 'env::var_os(zebra_test::net::ZEBRA_SKIP_IPV6_TESTS).is_some()' 'zebra_test::net::zebra_skip_ipv6_tests()'
This PR is ready for another review. Since I made a larger change than @jvff might have expected, I'd like another review before we merge. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome! 🎉
Motivation
Some of Zebra's new network tests fail in our
main
branch Google Cloud CI, but those failures are hidden due to bug #2403.We need to fix this bug before we can stop hiding those failures.
Solution
This allows users to disable IPv6 tests in environments where IPv6 is not configured.
Review
@jvff reviewed PR #2277, which introduced these tests. I think this might be urgent, because we don't want to release broken code.
Reviewer Checklist
Follow Up Work
Eventually we'll want to test in IPv6-only and non-standard IPv4 localhost environments.