From 9f7cf58eddd312372b0bf83e128dcec328e65c55 Mon Sep 17 00:00:00 2001 From: Ryan Leung Date: Wed, 11 Dec 2024 18:18:33 +0800 Subject: [PATCH] fix Signed-off-by: Ryan Leung --- pkg/keyspace/tso_keyspace_group_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/keyspace/tso_keyspace_group_test.go b/pkg/keyspace/tso_keyspace_group_test.go index 82c0a8833ed..3099eee5f52 100644 --- a/pkg/keyspace/tso_keyspace_group_test.go +++ b/pkg/keyspace/tso_keyspace_group_test.go @@ -449,7 +449,7 @@ func (suite *keyspaceGroupTestSuite) TestKeyspaceGroupMerge() { // merge a non-existing keyspace group err = suite.kgm.MergeKeyspaceGroups(4, []uint32{5}) - re.ErrorContains(err, errs.ErrKeyspaceGroupNotExists.FastGenByArgs(4).Error()) + re.ErrorContains(err, errs.ErrKeyspaceGroupNotExists.FastGenByArgs(5).Error()) // merge with the number of keyspace groups exceeds the limit err = suite.kgm.MergeKeyspaceGroups(1, make([]uint32, etcdutil.MaxEtcdTxnOps/2)) re.ErrorIs(err, errs.ErrExceedMaxEtcdTxnOps)