well they are all announced

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
kradalby/userfacing-metrics-moar
Kristoffer Dalby 1 month ago
parent 70fe4bc5df
commit 4f0a332273
No known key found for this signature in database

@ -1068,7 +1068,7 @@ func TestUserMetrics(t *testing.T) {
// - 192.0.3.0/24 // - 192.0.3.0/24
// - 192.0.5.1/32 // - 192.0.5.1/32
// - 0.0.0.0/0 // - 0.0.0.0/0
if got, want := parsedMetrics1["tailscaled_advertised_routes,"], wantRoutes+1; got != want { if got, want := parsedMetrics1["tailscaled_advertised_routes,"], 4.0; got != want {
t.Errorf("metrics1, tailscaled_advertised_routes: got %v, want %v", got, want) t.Errorf("metrics1, tailscaled_advertised_routes: got %v, want %v", got, want)
} }

Loading…
Cancel
Save