mirror of
https://github.com/tailscale/tailscale.git
synced 2025-03-28 03:52:35 +00:00
wgengine/magicsock: check slightly less aggressively for connectivity.
Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
parent
33a748bec1
commit
f8e4c75f6b
@ -170,7 +170,7 @@ func newMagicStack(t *testing.T, logf logger.Logf, l nettype.PacketListener, der
|
|||||||
// Wait for first endpoint update to be available
|
// Wait for first endpoint update to be available
|
||||||
deadline := time.Now().Add(2 * time.Second)
|
deadline := time.Now().Add(2 * time.Second)
|
||||||
for len(epCh) == 0 && time.Now().Before(deadline) {
|
for len(epCh) == 0 && time.Now().Before(deadline) {
|
||||||
time.Sleep(10 * time.Millisecond)
|
time.Sleep(100 * time.Millisecond)
|
||||||
}
|
}
|
||||||
|
|
||||||
return &magicStack{
|
return &magicStack{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user