mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-01-03 22:52:30 +02:00
Update mockZipkin addr from :0 to 127.0.0.1:0
This commit is contained in:
parent
7026089a0e
commit
375083a085
@ -51,7 +51,7 @@ func startMockZipkinCollector(t *testing.T) *mockZipkinCollector {
|
||||
t: t,
|
||||
closing: false,
|
||||
}
|
||||
listener, err := net.Listen("tcp", ":0")
|
||||
listener, err := net.Listen("tcp", "127.0.0.1:0")
|
||||
require.NoError(t, err)
|
||||
collector.url = fmt.Sprintf("http://%s", listener.Addr().String())
|
||||
server := &http.Server{
|
||||
|
Loading…
Reference in New Issue
Block a user