ipn/ipnlocal: add health.Tracker to tests where it was warning in CI

To denoise log output, to make it easier to find real failures.

Updates #19252

Change-Id: Iae64a9278c70de24a236c39e3d181a509a512a0b
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick
2026-04-06 02:05:05 +00:00
committed by Brad Fitzpatrick
parent 85827f7503
commit 5a899e406d
4 changed files with 20 additions and 3 deletions
+4 -1
View File
@@ -194,6 +194,7 @@ func TestGetServeHandler(t *testing.T) {
b := &LocalBackend{
serveConfig: tt.conf.View(),
logf: t.Logf,
health: health.NewTracker(eventbustest.NewBus(t)),
}
req := &http.Request{
URL: &url.URL{
@@ -1191,7 +1192,9 @@ func TestServeFileOrDirectory(t *testing.T) {
}
}
b := &LocalBackend{}
b := &LocalBackend{
health: health.NewTracker(eventbustest.NewBus(t)),
}
tests := []struct {
req string