mirror of https://github.com/grpc/grpc-go.git
credentials/local: fix incorrect binding of listener port (#3656)
This commit is contained in:
parent
806b6fc596
commit
a085b3e7f6
|
|
@ -163,17 +163,17 @@ func (s) TestServerAndClientHandshake(t *testing.T) {
|
|||
}{
|
||||
{
|
||||
testNetwork: "tcp",
|
||||
testAddr: "127.0.0.1:10000",
|
||||
testAddr: "127.0.0.1:0",
|
||||
want: credentials.NoSecurity,
|
||||
},
|
||||
{
|
||||
testNetwork: "tcp",
|
||||
testAddr: "[::1]:10000",
|
||||
testAddr: "[::1]:0",
|
||||
want: credentials.NoSecurity,
|
||||
},
|
||||
{
|
||||
testNetwork: "tcp",
|
||||
testAddr: "localhost:10000",
|
||||
testAddr: "localhost:0",
|
||||
want: credentials.NoSecurity,
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue