From 25361e881c1ffe2d066f091d0f9cfa704925be31 Mon Sep 17 00:00:00 2001 From: Peter Mattis Date: Sat, 12 May 2018 15:11:03 -0400 Subject: [PATCH] roachtest: deflake clock/jump/small_forward_enabled Fixes #25449 Release note: None --- pkg/cmd/roachtest/clock_jump_crash.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkg/cmd/roachtest/clock_jump_crash.go b/pkg/cmd/roachtest/clock_jump_crash.go index 8b1375374acf..5c6582175392 100644 --- a/pkg/cmd/roachtest/clock_jump_crash.go +++ b/pkg/cmd/roachtest/clock_jump_crash.go @@ -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, },