Skip to content

Commit 75c51bf

Browse files
authored
interop: Introduce env var for xDS dualstack support and add xDS interop config (#8081)
1 parent cf60e5a commit 75c51bf

File tree

2 files changed

+18
-3
lines changed

2 files changed

+18
-3
lines changed

internal/envconfig/xds.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,7 @@ var (
5656

5757
// XDSDualstackEndpointsEnabled is true if gRPC should read the
5858
// "additional addresses" in the xDS endpoint resource.
59-
// TODO: https://github.com/grpc/grpc-go/issues/7866 - Control this using
60-
// an env variable when all LB policies handle endpoints.
61-
XDSDualstackEndpointsEnabled = false
59+
XDSDualstackEndpointsEnabled = boolFromEnv("GRPC_EXPERIMENTAL_XDS_DUALSTACK_ENDPOINTS", false)
6260

6361
// XDSSystemRootCertsEnabled is true when xDS enabled gRPC clients can use
6462
// the system's default root certificates for TLS certificate validation.

test/kokoro/psm-dualstack.cfg

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Config file for internal CI
2+
3+
# Location of the continuous shell script in repository.
4+
build_file: "grpc-go/test/kokoro/psm-interop-test-go.sh"
5+
timeout_mins: 360
6+
7+
action {
8+
define_artifacts {
9+
regex: "artifacts/**/*sponge_log.xml"
10+
regex: "artifacts/**/*.log"
11+
strip_prefix: "artifacts"
12+
}
13+
}
14+
env_vars {
15+
key: "PSM_TEST_SUITE"
16+
value: "dualstack"
17+
}

0 commit comments

Comments
 (0)