File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -26,9 +26,18 @@ import (
2626 "google.golang.org/grpc/credentials"
2727 "google.golang.org/grpc/internal"
2828 icredentials "google.golang.org/grpc/internal/credentials"
29+ "google.golang.org/grpc/internal/grpctest"
2930 "google.golang.org/grpc/resolver"
3031)
3132
33+ type s struct {
34+ grpctest.Tester
35+ }
36+
37+ func Test (t * testing.T ) {
38+ grpctest .RunSubTests (t , s {})
39+ }
40+
3241type testCreds struct {
3342 credentials.TransportCredentials
3443 typ string
@@ -73,7 +82,7 @@ func overrideNewCredsFuncs() func() {
7382// TestClientHandshakeBasedOnClusterName that by default (without switching
7483// modes), ClientHandshake does either tls or alts base on the cluster name in
7584// attributes.
76- func TestClientHandshakeBasedOnClusterName (t * testing.T ) {
85+ func ( s ) TestClientHandshakeBasedOnClusterName (t * testing.T ) {
7786 defer overrideNewCredsFuncs ()()
7887 for bundleTyp , tc := range map [string ]credentials.Bundle {
7988 "defaultCredsWithOptions" : NewDefaultCredentialsWithOptions (DefaultCredentialsOptions {}),
You can’t perform that action at this time.
0 commit comments