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 (
26
26
"google.golang.org/grpc/credentials"
27
27
"google.golang.org/grpc/internal"
28
28
icredentials "google.golang.org/grpc/internal/credentials"
29
+ "google.golang.org/grpc/internal/grpctest"
29
30
"google.golang.org/grpc/resolver"
30
31
)
31
32
33
+ type s struct {
34
+ grpctest.Tester
35
+ }
36
+
37
+ func Test (t * testing.T ) {
38
+ grpctest .RunSubTests (t , s {})
39
+ }
40
+
32
41
type testCreds struct {
33
42
credentials.TransportCredentials
34
43
typ string
@@ -73,7 +82,7 @@ func overrideNewCredsFuncs() func() {
73
82
// TestClientHandshakeBasedOnClusterName that by default (without switching
74
83
// modes), ClientHandshake does either tls or alts base on the cluster name in
75
84
// attributes.
76
- func TestClientHandshakeBasedOnClusterName (t * testing.T ) {
85
+ func ( s ) TestClientHandshakeBasedOnClusterName (t * testing.T ) {
77
86
defer overrideNewCredsFuncs ()()
78
87
for bundleTyp , tc := range map [string ]credentials.Bundle {
79
88
"defaultCredsWithOptions" : NewDefaultCredentialsWithOptions (DefaultCredentialsOptions {}),
You can’t perform that action at this time.
0 commit comments