File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 19
19
- name : Run coverage
20
20
run : go test -coverprofile=coverage.out -coverpkg=./... ./...
21
21
22
- - name : Run coverage with new pickfirst
23
- run : GRPC_EXPERIMENTAL_ENABLE_NEW_PICK_FIRST=true go test -coverprofile=coverage_new_pickfirst .out -coverpkg=./... ./...
22
+ - name : Run coverage with old pickfirst
23
+ run : GRPC_EXPERIMENTAL_ENABLE_NEW_PICK_FIRST=false go test -coverprofile=coverage_old_pickfirst .out -coverpkg=./... ./...
24
24
25
25
- name : Upload coverage to Codecov
26
26
uses : codecov/codecov-action@v4
Original file line number Diff line number Diff line change @@ -51,10 +51,10 @@ var (
51
51
// xDS server in the list of server configs will be used.
52
52
XDSFallbackSupport = boolFromEnv ("GRPC_EXPERIMENTAL_XDS_FALLBACK" , true )
53
53
// NewPickFirstEnabled is set if the new pickfirst leaf policy is to be used
54
- // instead of the exiting pickfirst implementation. This can be enabled by
54
+ // instead of the exiting pickfirst implementation. This can be disabled by
55
55
// setting the environment variable "GRPC_EXPERIMENTAL_ENABLE_NEW_PICK_FIRST"
56
- // to "true ".
57
- NewPickFirstEnabled = boolFromEnv ("GRPC_EXPERIMENTAL_ENABLE_NEW_PICK_FIRST" , false )
56
+ // to "false ".
57
+ NewPickFirstEnabled = boolFromEnv ("GRPC_EXPERIMENTAL_ENABLE_NEW_PICK_FIRST" , true )
58
58
)
59
59
60
60
func boolFromEnv (envVar string , def bool ) bool {
Original file line number Diff line number Diff line change 56
56
57
57
// XDSDualstackEndpointsEnabled is true if gRPC should read the
58
58
// "additional addresses" in the xDS endpoint resource.
59
- XDSDualstackEndpointsEnabled = boolFromEnv ("GRPC_EXPERIMENTAL_XDS_DUALSTACK_ENDPOINTS" , false )
59
+ XDSDualstackEndpointsEnabled = boolFromEnv ("GRPC_EXPERIMENTAL_XDS_DUALSTACK_ENDPOINTS" , true )
60
60
61
61
// XDSSystemRootCertsEnabled is true when xDS enabled gRPC clients can use
62
62
// the system's default root certificates for TLS certificate validation.
You can’t perform that action at this time.
0 commit comments