Skip to content

Commit

Permalink
improve modified test
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Vaillancourt <[email protected]>
  • Loading branch information
timvaillancourt committed Dec 9, 2024
1 parent 513d417 commit 0139b8e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions go/vt/vtorc/logic/vtorc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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()
}

0 comments on commit 0139b8e

Please sign in to comment.