linkerd2/testutil
Alejandro Pedraza b21686a9be
IPv6/dual-stack integration tests (#12575)
* IPv6 integration tests

This adds a new test `TestDualStack` to the deep suite that ensures requests to a dual stack service are always routed the the IPv6 endpoint.

It also amends other tests in the suite for them to work in IPv6-only clusters:

- skipports: replaced the booksapp with emojivoto, given the servers in the former don't bind to IPv6 addresses
- endpoints: amended the regexes to include IPv6 addresses
- localhost: bumped nginx for it to bind to the IPv6 loopback as well

Note the `TestDualStack` test is disabled by default because Github runners don't support IPv6. To run it locally, first deploy a dual-stack cluster via:

```
kind create cluster --config test/integration/deep/kind-dualstack.yml
```
(for testing IPv6-only clusters, use the `kind-ipv6.yml` config)

Then load the images and trigger the test with:

```
bin/tests --name deep-dual-stack --skip-cluster-create $PWD/target/cli/linux-amd64/linkerd
```
2024-05-28 16:00:26 -05:00
..
prommatch Enable forwarding IPv6 connections through the proxy (#12495) 2024-05-02 16:39:19 +01:00
annotations.go Spelling (#6215) 2021-06-07 15:16:59 -06:00
annotations_test.go Spelling (#6215) 2021-06-07 15:16:59 -06:00
doc.go Update to dev:v39 with Go 1.19 (#10336) 2023-02-16 08:25:42 -08:00
inject.go Enable gocritic linting (#7906) 2022-02-17 22:45:25 +00:00
inject_validator.go make group ID configurable (#11924) 2024-05-23 15:54:21 -05:00
install.go go: Enable `errorlint` checking (#7885) 2022-02-16 18:32:19 -07:00
kubernetes_helper.go testutil: Mark test helper functions (#11626) 2023-11-17 10:37:18 -05:00
stream.go Replace time.After with time.NewTimer to avoid memory leaks (#7956) 2022-02-24 15:34:52 -08:00
tap.go viz: move sub-cmds using viz extension under viz cmd (#5485) 2021-01-13 12:11:25 +05:30
test_data_diff.go inject: Configure proxy stream lifetime limits (#11837) 2023-12-27 16:24:33 -08:00
test_helper.go IPv6/dual-stack integration tests (#12575) 2024-05-28 16:00:26 -05:00
test_helper_check.go Skip `multicluster-gateways-endpoints` for links with no gateways (#11447) 2023-10-18 10:38:40 +01:00