From 4dff76322db1cac680bf61dda8fe1e48d97b79b7 Mon Sep 17 00:00:00 2001 From: Ryan Leung Date: Fri, 8 Mar 2024 14:30:08 +0800 Subject: [PATCH] fix the test Signed-off-by: Ryan Leung --- tests/integrations/mcs/tso/api_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/integrations/mcs/tso/api_test.go b/tests/integrations/mcs/tso/api_test.go index 327254184620..630e6c0de625 100644 --- a/tests/integrations/mcs/tso/api_test.go +++ b/tests/integrations/mcs/tso/api_test.go @@ -214,6 +214,7 @@ func TestForwardOnlyTSONoScheduling(t *testing.T) { tc.WaitLeader() leaderServer := tc.GetLeaderServer() re.NoError(leaderServer.BootstrapCluster()) + ttc.WaitForDefaultPrimaryServing(re) urlPrefix := fmt.Sprintf("%s/pd/api/v1", pdAddr)