File tree 1 file changed +3
-0
lines changed
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,9 @@ not git grep "\(import \|^\s*\)\"google.golang.org/grpc/interop/grpc_testing" --
70
70
git grep ' "github.com/envoyproxy/go-control-plane/envoy' -- ' *.go' ' :(exclude)*.pb.go' | not grep -v ' pb "\|grpc "'
71
71
72
72
# - Ensure all context usages are done with timeout.
73
+ # Context tests under benchmark are excluded as they are testing the performance of context.Background() and context.TODO().
74
+ # TODO: Remove the exclusions once the tests are updated to use context.WithTimeout().
75
+ # See https://github.com/grpc/grpc-go/issues/7304
73
76
git grep -e ' context.Background()' --or -e ' context.TODO()' -- " *_test.go" | grep -v " benchmark/primitives/context_test.go" | grep -v " credential
74
77
s/google" | grep -v " internal/transport/" | grep -v " xds/internal/" | grep -v " security/advancedtls" | grep -v ' context.WithTimeout(' | not grep -v ' context.WithCancel('
75
78
You can’t perform that action at this time.
0 commit comments