Make sure all vpnAddrs are hoisted to primary, resolve a few more TODOs (#1319)

This commit is contained in:
Nate Brown
2025-01-30 13:33:19 -06:00
committed by GitHub
parent 1ad0f57c1e
commit e4daed3563
15 changed files with 61 additions and 112 deletions

View File

@@ -161,7 +161,7 @@ func assertTunnel(t *testing.T, vpnIpA, vpnIpB netip.Addr, controlA, controlB *n
func assertHostInfoPair(t *testing.T, addrA, addrB netip.AddrPort, vpnNetsA, vpnNetsB []netip.Prefix, controlA, controlB *nebula.Control) {
// Get both host infos
//TODO: we may want to loop over each vpnAddr and assert all the things
//TODO: CERT-V2 we may want to loop over each vpnAddr and assert all the things
hBinA := controlA.GetHostInfoByVpnAddr(vpnNetsB[0].Addr(), false)
assert.NotNil(t, hBinA, "Host B was not found by vpnAddr in controlA")