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.
@@ -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,
},
},
}
