From 0139b8ebfc93f438377dddb64c6f5d215e49fae7 Mon Sep 17 00:00:00 2001 From: Tim Vaillancourt Date: Mon, 9 Dec 2024 23:01:07 +0100 Subject: [PATCH] improve modified test Signed-off-by: Tim Vaillancourt --- go/vt/vtorc/logic/vtorc_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/go/vt/vtorc/logic/vtorc_test.go b/go/vt/vtorc/logic/vtorc_test.go index 77e268fdeaa..7ee2f0e253b 100644 --- a/go/vt/vtorc/logic/vtorc_test.go +++ b/go/vt/vtorc/logic/vtorc_test.go @@ -92,6 +92,7 @@ func TestRefreshAllInformation(t *testing.T) { health, err := process.HealthTest() require.NoError(t, err) require.False(t, health.DiscoveredOnce) + require.False(t, health.Healthy) process.ResetLastHealthCheckCache() // Test success @@ -102,5 +103,6 @@ func TestRefreshAllInformation(t *testing.T) { health, err = process.HealthTest() require.NoError(t, err) require.True(t, health.DiscoveredOnce) + require.True(t, health.Healthy) process.ResetLastHealthCheckCache() }