Skip to content

Commit

Permalink
*: make TestTSOKeyspaceGroupSplitElection stable (tikv#8110)
Browse files Browse the repository at this point in the history
close tikv#8099

Signed-off-by: Ryan Leung <[email protected]>
  • Loading branch information
rleungx authored and nolouch committed Apr 29, 2024
1 parent b731b56 commit 8e0bda6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/tso/keyspace_group_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -1439,7 +1439,7 @@ func (kgm *KeyspaceGroupManager) groupSplitPatroller() {
defer kgm.wg.Done()
patrolInterval := groupPatrolInterval
failpoint.Inject("fastGroupSplitPatroller", func() {
patrolInterval = 200 * time.Millisecond
patrolInterval = time.Second
})
ticker := time.NewTicker(patrolInterval)
defer ticker.Stop()
Expand Down

0 comments on commit 8e0bda6

Please sign in to comment.