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>
pull/2750/head
David Anderson 3 years ago
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…
Cancel
Save