Skip to content

Commit

Permalink
Clearer comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ivov committed Nov 28, 2024
1 parent 1a8b4d1 commit de5c094
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/http/monitor_runner_health_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func TestMonitorRunnerHealth(t *testing.T) {

select {
case <-waitCh:
// monitoring goroutine was shut down within timeout
// success case - monitoring stopped properly
case <-time.After(100 * time.Millisecond):
t.Fatal("Test timed out waiting for monitor to stop")
}
Expand Down Expand Up @@ -142,7 +142,7 @@ func TestMonitorRunnerHealthFailure(t *testing.T) {

select {
case <-waitCh:
// monitoring goroutine was shut down within timeout
// success case - monitoring stopped properly
case <-time.After(100 * time.Millisecond):
t.Fatal("Test timed out waiting for monitor to stop")
}
Expand Down

0 comments on commit de5c094

Please sign in to comment.