Zebra/zebra-test/src
teor 9cb7ee4d0e
Release Blocker? Disable IPv6 tests when $ZEBRA_SKIP_IPV6_TESTS is set (#2405)
* Disable IPv6 tests when $ZEBRA_SKIP_IPV6_TESTS is set

This allows users to disable IPv6 tests in environments where IPv6 is not
configured.

* Add network test env var constants

* Replace env strings with constants

fastmod '"ZEBRA_SKIP_NETWORK_TESTS"' zebra_test::net::ZEBRA_SKIP_NETWORK_TESTS
fastmod '"ZEBRA_SKIP_IPV6_TESTS"' zebra_test::net::ZEBRA_SKIP_IPV6_TESTS

* Add functions to skip network tests

* Replace test network env var checks with test function

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()'

* Remove redundant logging and use statements
2021-06-29 11:20:32 +10:00
..
vectors Add final sapling root test vectors (#2243) 2021-06-04 10:31:47 -03:00
command.rs Improve docs and panic messages for zebra_test::command (#2406) 2021-06-28 10:35:56 -03:00
lib.rs Gossip dynamic local listener ports to peers (#2277) 2021-06-23 07:59:06 +10:00
net.rs Release Blocker? Disable IPv6 tests when $ZEBRA_SKIP_IPV6_TESTS is set (#2405) 2021-06-29 11:20:32 +10:00
prelude.rs Standardise clippy lints and require docs (#2238) 2021-06-04 08:48:40 +10:00
transcript.rs Standardise clippy lints and require docs (#2238) 2021-06-04 08:48:40 +10:00
vectors.rs Standardise clippy lints and require docs (#2238) 2021-06-04 08:48:40 +10:00