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:
committed by
Brad Fitzpatrick
parent
85827f7503
commit
5a899e406d
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user