mirror of
https://github.com/tailscale/tailscale.git
synced 2025-08-12 05:37:32 +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:
@@ -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,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user