Skip to content

Commit

Permalink
make TestTSOKeyspaceGroupSplitElection stable
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Leung <[email protected]>
  • Loading branch information
rleungx committed Apr 22, 2024
1 parent 4a7bffc commit 4fb502e
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 = 500 * time.Millisecond
})
ticker := time.NewTicker(patrolInterval)
defer ticker.Stop()
Expand Down

0 comments on commit 4fb502e

Please sign in to comment.