From 3dd03760b5a80df1dd7ab1912718d680f6e3c526 Mon Sep 17 00:00:00 2001 From: Manan Gupta Date: Mon, 16 Dec 2024 18:17:06 +0530 Subject: [PATCH] test: fix test expectation Signed-off-by: Manan Gupta --- go/vt/vttablet/tabletserver/state_manager_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/vt/vttablet/tabletserver/state_manager_test.go b/go/vt/vttablet/tabletserver/state_manager_test.go index 7ffb46bbd6c..9c8d9c98830 100644 --- a/go/vt/vttablet/tabletserver/state_manager_test.go +++ b/go/vt/vttablet/tabletserver/state_manager_test.go @@ -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()