instead of increasing the timeout for the lowLatency test, reduce the amount of time a commit takes because of long commit times

This commit is contained in:
Evan Tschannen 2021-04-26 09:50:19 -07:00
parent f1559a2203
commit 9ca2c3b6c4
2 changed files with 2 additions and 2 deletions

View File

@ -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"));

View File

@ -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