From f5bc31e8159dc136d7747a75af396aeaf8c5c935 Mon Sep 17 00:00:00 2001 From: JmPotato Date: Mon, 8 May 2023 11:42:19 +0800 Subject: [PATCH] Fix TestTSOKeyspaceGroupSplitClient Signed-off-by: JmPotato --- tests/integrations/mcs/tso/keyspace_group_manager_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/integrations/mcs/tso/keyspace_group_manager_test.go b/tests/integrations/mcs/tso/keyspace_group_manager_test.go index 60cc8c1161d..31286c8e190 100644 --- a/tests/integrations/mcs/tso/keyspace_group_manager_test.go +++ b/tests/integrations/mcs/tso/keyspace_group_manager_test.go @@ -371,6 +371,7 @@ func (suite *tsoKeyspaceGroupManagerTestSuite) TestTSOKeyspaceGroupSplitClient() // Ignore the errors caused by the split and context cancellation. if strings.Contains(errMsg, "context canceled") || strings.Contains(errMsg, "not leader") || + strings.Contains(errMsg, "not served") || strings.Contains(errMsg, "ErrKeyspaceNotAssigned") { continue }