From a1946a80b795902420ef82654ae46f0001879a76 Mon Sep 17 00:00:00 2001 From: Ryan Leung Date: Fri, 1 Nov 2024 11:16:39 +0800 Subject: [PATCH] fixt Signed-off-by: Ryan Leung --- tests/integrations/mcs/tso/server_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/integrations/mcs/tso/server_test.go b/tests/integrations/mcs/tso/server_test.go index 0ac6fc51c5bc..e706e20457f1 100644 --- a/tests/integrations/mcs/tso/server_test.go +++ b/tests/integrations/mcs/tso/server_test.go @@ -268,6 +268,10 @@ func TestForwardTSORelated(t *testing.T) { re := require.New(t) suite := NewAPIServerForward(re) defer suite.ShutDown() + leaderServer := suite.cluster.GetLeaderServer().GetServer() + cfg := leaderServer.GetMicroServiceConfig().Clone() + cfg.EnableTSODynamicSwitching = false + leaderServer.SetMicroServiceConfig(*cfg) // Unable to use the tso-related interface without tso server suite.checkUnavailableTSO(re) tc, err := tests.NewTestTSOCluster(suite.ctx, 1, suite.backendEndpoints)