From 9ca2c3b6c4e7150b1112bbb4e8d8866dfda7bf18 Mon Sep 17 00:00:00 2001 From: Evan Tschannen Date: Mon, 26 Apr 2021 09:50:19 -0700 Subject: [PATCH] instead of increasing the timeout for the lowLatency test, reduce the amount of time a commit takes because of long commit times --- fdbserver/workloads/LowLatency.actor.cpp | 2 +- flow/Knobs.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fdbserver/workloads/LowLatency.actor.cpp b/fdbserver/workloads/LowLatency.actor.cpp index 7e761b2262..90b03dd8e9 100644 --- a/fdbserver/workloads/LowLatency.actor.cpp +++ b/fdbserver/workloads/LowLatency.actor.cpp @@ -40,7 +40,7 @@ struct LowLatencyWorkload : TestWorkload { : TestWorkload(wcx), operations("Operations"), retries("Retries"), ok(true) { testDuration = getOption(options, LiteralStringRef("testDuration"), 600.0); maxGRVLatency = getOption(options, LiteralStringRef("maxGRVLatency"), 20.0); - maxCommitLatency = getOption(options, LiteralStringRef("maxCommitLatency"), 33.0); + maxCommitLatency = getOption(options, LiteralStringRef("maxCommitLatency"), 30.0); checkDelay = getOption(options, LiteralStringRef("checkDelay"), 1.0); testWrites = getOption(options, LiteralStringRef("testWrites"), true); testKey = getOption(options, LiteralStringRef("testKey"), LiteralStringRef("testKey")); diff --git a/flow/Knobs.cpp b/flow/Knobs.cpp index 4a3eb4e2d7..e4d5a4e6f9 100644 --- a/flow/Knobs.cpp +++ b/flow/Knobs.cpp @@ -135,7 +135,7 @@ void FlowKnobs::initialize(bool randomize, bool isSimulated) { init( DISABLE_POSIX_KERNEL_AIO, 0 ); //AsyncFileNonDurable - init( NON_DURABLE_MAX_WRITE_DELAY, 5.0 ); + init( NON_DURABLE_MAX_WRITE_DELAY, 2.0 ); if( randomize && BUGGIFY ) NON_DURABLE_MAX_WRITE_DELAY = 5.0; init( MAX_PRIOR_MODIFICATION_DELAY, 1.0 ); if( randomize && BUGGIFY ) MAX_PRIOR_MODIFICATION_DELAY = 10.0; //GenericActors