Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: okJiang <[email protected]>
  • Loading branch information
okJiang committed Jan 22, 2025
1 parent 6a3c636 commit 9fe44ee
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/integrations/mcs/tso/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ import (
"github.com/tikv/pd/pkg/mcs/utils/constant"
"github.com/tikv/pd/pkg/storage/endpoint"
"github.com/tikv/pd/pkg/utils/etcdutil"
"github.com/tikv/pd/pkg/utils/keypath"
"github.com/tikv/pd/pkg/utils/tempurl"
"github.com/tikv/pd/pkg/utils/testutil"
"github.com/tikv/pd/pkg/utils/tsoutil"
Expand Down Expand Up @@ -209,7 +208,7 @@ func getEtcdTimestampKeyNum(re *require.Assertions, client *clientv3.Client) int
var count int
for _, kv := range resp.Kvs {
key := strings.TrimSpace(string(kv.Key))
if !strings.HasSuffix(key, keypath.TimestampKey) {
if !strings.HasSuffix(key, "timestamp") {
continue
}
count++
Expand Down

0 comments on commit 9fe44ee

Please sign in to comment.