Commit 27d6654
test: fix grpc mTLS dialoptions test
This was incorrectly passing in the cert and key backwards which
resulted in not actually getting mTLS credentials, but instead
insecure credentials.
When insecure credentials are used, skipToken means we don't add a
addPerRPCCredentials. When it is a secure TLS credential then
addPerRPCCredentials increases the dialoption count by one.1 parent 972b498 commit 27d6654
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
175 | | - | |
| 174 | + | |
| 175 | + | |
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| |||
0 commit comments