mapper: allow unchanged self in the full-update ping test

Updates #3518
This commit is contained in:
Kristoffer Dalby committed 2026-10-07 20:55:40 +00:00
1 parent 74d287d7bf
commit 6875c4bc8a
1 file changed
+3 -1
+3 -1
View File
@@ -1218,7 +1218,9 @@ func TestBatcherPingSurvivesFullUpdate(t *testing.T) {
}
isFull := func(r *tailcfg.MapResponse) bool {
return r.Node != nil && r.DERPMap != nil && len(r.Peers) > 0
// An unchanged self may be omitted for this connection, while
// the full peer list and DERP map still distinguish the full.
return r.DERPMap != nil && len(r.Peers) > 0
}
frames := collect(target.ch)