Skip to content

Commit 9023d19

Browse files
committed
Improve EndpointController dual-stack testing
Rewrite some of the test helpers to better support single-stack IPv4 vs single-stack IPv6 vs dual-stack IPv4 primary vs dual-stack IPv6 primary, and update TestPodToEndpointAddressForService to test some more cases.
1 parent 9fb6e2e commit 9023d19

File tree

2 files changed

+193
-59
lines changed

2 files changed

+193
-59
lines changed

pkg/controller/endpoint/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ go_test(
6464
"//staging/src/k8s.io/client-go/tools/cache:go_default_library",
6565
"//staging/src/k8s.io/client-go/util/testing:go_default_library",
6666
"//staging/src/k8s.io/component-base/featuregate/testing:go_default_library",
67+
"//vendor/k8s.io/utils/net:go_default_library",
6768
"//vendor/k8s.io/utils/pointer:go_default_library",
6869
],
6970
)

0 commit comments

Comments
 (0)