From a085b3e7f600065bc998589ca128ae2dc1a93b50 Mon Sep 17 00:00:00 2001 From: yihuaz Date: Mon, 1 Jun 2020 14:55:19 -0700 Subject: [PATCH] credentials/local: fix incorrect binding of listener port (#3656) --- credentials/local/local_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/credentials/local/local_test.go b/credentials/local/local_test.go index a508d89bc..3c65010e8 100644 --- a/credentials/local/local_test.go +++ b/credentials/local/local_test.go @@ -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, }, {