Skip to content

Commit

Permalink
roachtest: deflake clock/jump/small_forward_enabled
Browse files Browse the repository at this point in the history
Fixes #25449

Release note: None
  • Loading branch information
petermattis committed May 12, 2018
1 parent ec1abbe commit 25361e8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pkg/cmd/roachtest/clock_jump_crash.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,11 @@ func makeClockJumpTests() testSpec {
aliveAfterOffset: false,
},
{
name: "small_forward_enabled",
offset: 150 * time.Millisecond,
name: "small_forward_enabled",
// NB: The offset here needs to be small enough such that this jump plus
// the forward jump check interval (125ms) is less than the tolerated
// forward clock jump (250ms).
offset: 100 * time.Millisecond,
jumpCheckEnabled: true,
aliveAfterOffset: true,
},
Expand Down

0 comments on commit 25361e8

Please sign in to comment.