From 3136d54dc6d44edcfde1077cfb31ab553d22efeb Mon Sep 17 00:00:00 2001 From: Bin Shi Date: Thu, 6 Apr 2023 00:21:54 -0700 Subject: [PATCH] nit Signed-off-by: Bin Shi --- pkg/tso/keyspace_group_manager_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/tso/keyspace_group_manager_test.go b/pkg/tso/keyspace_group_manager_test.go index 2d6e8956fc55..8b9a0b3d6c54 100644 --- a/pkg/tso/keyspace_group_manager_test.go +++ b/pkg/tso/keyspace_group_manager_test.go @@ -125,15 +125,15 @@ func (suite *keyspaceGroupManagerTestSuite) TestNewKeyspaceGroupManager() { func (suite *keyspaceGroupManagerTestSuite) TestLoadKeyspaceGroupsAssignment() { re := suite.Require() maxCountInUse := int(mcsutils.MaxKeyspaceGroupCountInUse) - // Test the loading of empty keyspace group assignment. + // Test loading of empty keyspace group assignment. runTestLoadKeyspaceGroupsAssignment(suite.ctx, re, suite.etcdClient, suite.cfg, 0, 0, 100) - // Test the loading of single keyspace group assignment. + // Test loading of single keyspace group assignment. runTestLoadKeyspaceGroupsAssignment(suite.ctx, re, suite.etcdClient, suite.cfg, 1, 0, 100) - // Test the loading of multiple keyspace group assignment. + // Test loading of multiple keyspace group assignment. runTestLoadKeyspaceGroupsAssignment(suite.ctx, re, suite.etcdClient, suite.cfg, 3, 0, 100) runTestLoadKeyspaceGroupsAssignment(suite.ctx, re, suite.etcdClient, suite.cfg, maxCountInUse-1, 0, 10) runTestLoadKeyspaceGroupsAssignment(suite.ctx, re, suite.etcdClient, suite.cfg, maxCountInUse, 0, 10) - // Test the loading of the keyspace group assignment which exceeds the maximum + // Test loading of the keyspace group assignment which exceeds the maximum // keyspace group count. In this case, the manager should only load/serve the // first MaxKeyspaceGroupCountInUse keyspace groups and ignore the rest runTestLoadKeyspaceGroupsAssignment(suite.ctx, re, suite.etcdClient, suite.cfg, maxCountInUse+1, 0, 10)