From de5c094e2b1c22b6c3f56e9ff134b348d8a029d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Ovejero?= Date: Thu, 28 Nov 2024 17:48:22 +0100 Subject: [PATCH] Clearer comments --- internal/http/monitor_runner_health_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/http/monitor_runner_health_test.go b/internal/http/monitor_runner_health_test.go index 2cf1ab7..f9fb6bf 100644 --- a/internal/http/monitor_runner_health_test.go +++ b/internal/http/monitor_runner_health_test.go @@ -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") } @@ -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") }