From 1524a0528c2cc110d876097b1651ab218140c923 Mon Sep 17 00:00:00 2001 From: Ryan Leung Date: Mon, 4 Nov 2024 11:55:19 +0800 Subject: [PATCH] tiny changes Signed-off-by: Ryan Leung --- tests/integrations/tso/client_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/integrations/tso/client_test.go b/tests/integrations/tso/client_test.go index 35a54a2a8ad4..ce5c5af205b5 100644 --- a/tests/integrations/tso/client_test.go +++ b/tests/integrations/tso/client_test.go @@ -104,6 +104,11 @@ func (suite *tsoClientTestSuite) SetupSuite() { suite.keyspaceIDs = make([]uint32, 0) if !suite.legacy { + opt := suite.pdLeaderServer.GetServer().GetPersistOptions() + cfg := opt.GetMicroServiceConfig() + cfg.EnableTSODynamicSwitching = false + opt.SetMicroServiceConfig(cfg) + suite.tsoCluster, err = tests.NewTestTSOCluster(suite.ctx, 3, suite.backendEndpoints) re.NoError(err)