health: drop unnecessary logging in TestSetUnhealthyWithTimeToVisible (#12795)

Fixes tailscale/tailscale#12794

We were printing some leftover debug logs within a callback function that would be executed after the test completion, causing the test to fail. This change drops the log calls to address the issue.

Signed-off-by: Andrea Gottardo <andrea@gottardo.me>
irbekrm/kubetestsetup
Andrea Gottardo 4 months ago committed by GitHub
parent 808b4139ee
commit 3f3edeec07
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -186,10 +186,8 @@ func TestSetUnhealthyWithTimeToVisible(t *testing.T) {
}
if us != nil {
t.Logf("watcherFunc was called with an UnhealthyState: %v", us)
becameUnhealthy <- struct{}{}
} else {
t.Logf("watcherFunc was called with an healthy state: %v", us)
becameHealthy <- struct{}{}
}
}

Loading…
Cancel
Save