From 4f0a33227323d23e3ff5ad90c40667bd8de0a9e9 Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Mon, 23 Sep 2024 11:46:08 +0200 Subject: [PATCH] well they are all announced Signed-off-by: Kristoffer Dalby --- tsnet/tsnet_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsnet/tsnet_test.go b/tsnet/tsnet_test.go index 506fee081..1d526aba1 100644 --- a/tsnet/tsnet_test.go +++ b/tsnet/tsnet_test.go @@ -1068,7 +1068,7 @@ func TestUserMetrics(t *testing.T) { // - 192.0.3.0/24 // - 192.0.5.1/32 // - 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) }