Skip to content

Commit

Permalink
test: fix test expectation
Browse files Browse the repository at this point in the history
Signed-off-by: Manan Gupta <[email protected]>
  • Loading branch information
GuptaManan100 committed Dec 16, 2024
1 parent 743db09 commit 3dd0376
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/vt/vttablet/tabletserver/state_manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,7 @@ func TestDemotePrimaryStalled(t *testing.T) {
sm.demotePrimaryStalled = true
sm.Broadcast()
gotshr = <-ch
require.EqualValues(t, "Failed to complete primary demotion", gotshr.RealtimeStats.HealthError)
require.EqualValues(t, "VT09031: Failed to complete primary demotion", gotshr.RealtimeStats.HealthError)

// Stop the state manager.
sm.StopService()
Expand Down

0 comments on commit 3dd0376

Please sign in to comment.