Skip to content

Commit

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

Signed-off-by: Ryan Leung <rleungx@gmail.com>
  • Loading branch information
rleungx committed Apr 22, 2024
1 parent 4a7bffc commit 2f85f1f
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 2f85f1f

Please sign in to comment.