mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-25 11:05:45 +00:00
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>
This commit is contained in:
parent
808b4139ee
commit
3f3edeec07
@ -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…
Reference in New Issue
Block a user