mirror of
https://github.com/tailscale/tailscale.git
synced 2025-01-05 23:07:44 +00:00
wgengine/magicsock: don't configure eager WireGuard handshaking in tests.
Our prod code doesn't eagerly handshake, because our disco layer enables on-demand handshaking. Configuring both peers to eagerly handshake leads to WireGuard handshake races that make TestTwoDevicePing flaky. Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
parent
86d1c4eceb
commit
f09ede9243
@ -950,7 +950,6 @@ func testTwoDevicePing(t *testing.T, d *devices) {
|
||||
PublicKey: m2.privateKey.Public(),
|
||||
DiscoKey: m2.conn.DiscoPublicKey(),
|
||||
},
|
||||
PersistentKeepalive: 25,
|
||||
},
|
||||
},
|
||||
}
|
||||
@ -966,7 +965,6 @@ func testTwoDevicePing(t *testing.T, d *devices) {
|
||||
PublicKey: m1.privateKey.Public(),
|
||||
DiscoKey: m1.conn.DiscoPublicKey(),
|
||||
},
|
||||
PersistentKeepalive: 25,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user