mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
p2p/nat: fix tests
This commit is contained in:
parent
05f55dc0af
commit
02bdb55fdf
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ import (
|
||||||
func TestAutoDiscRace(t *testing.T) {
|
func TestAutoDiscRace(t *testing.T) {
|
||||||
ad := startautodisc("thing", func() Interface {
|
ad := startautodisc("thing", func() Interface {
|
||||||
time.Sleep(500 * time.Millisecond)
|
time.Sleep(500 * time.Millisecond)
|
||||||
return extIP{33, 44, 55, 66}
|
return ExtIP{33, 44, 55, 66}
|
||||||
})
|
})
|
||||||
|
|
||||||
// Spawn a few concurrent calls to ad.ExternalIP.
|
// Spawn a few concurrent calls to ad.ExternalIP.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue