Преглед на файлове

Merge branch 'master' of https://github.com/ugorji/go

Ugorji Nwoke преди 8 години
родител
ревизия
edc8f1f6ba
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      codec/codec_test.go

+ 1 - 1
codec/codec_test.go

@@ -1150,7 +1150,7 @@ func testCodecRpcOne(t *testing.T, rr Rpc, h Handle, doRequest bool, exitSleepMs
 	}
 	srv := rpc.NewServer()
 	srv.Register(testRpcInt)
-	ln, err := net.Listen("tcp", "127.0.0.1:0")
+	ln, err := net.Listen("tcp", ":0")
 	// log("listener: %v", ln.Addr())
 	checkErrT(t, err)
 	port = (ln.Addr().(*net.TCPAddr)).Port