summaryrefslogtreecommitdiff
path: root/buildscripts/resmokelib
diff options
context:
space:
mode:
authorJosef Ahmad <josef.ahmad@mongodb.com>2021-10-19 07:11:31 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-10-19 08:05:46 +0000
commitf837c888695e4bd6beef76db88c5647379c3157a (patch)
treef1ba390f8a2b858975447342369de412810e1d9a /buildscripts/resmokelib
parent05f457975d489ad2261615053f185b2f14aed218 (diff)
downloadmongo-f837c888695e4bd6beef76db88c5647379c3157a.tar.gz
SERVER-60517 Enforce eviction_dirty_target < eviction_dirty_trigger in the fuzzer
Diffstat (limited to 'buildscripts/resmokelib')
-rw-r--r--buildscripts/resmokelib/mongod_fuzzer_configs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildscripts/resmokelib/mongod_fuzzer_configs.py b/buildscripts/resmokelib/mongod_fuzzer_configs.py
index 86d969b0b02..5d02e769738 100644
--- a/buildscripts/resmokelib/mongod_fuzzer_configs.py
+++ b/buildscripts/resmokelib/mongod_fuzzer_configs.py
@@ -16,7 +16,7 @@ def generate_eviction_configs(rng):
eviction_dirty_target = rng.choice(
[rng.randint(5, 50), rng.randint(target_bytes_min, target_bytes_max)])
trigger_max = 75 if eviction_dirty_target <= 50 else target_bytes_max
- eviction_dirty_trigger = rng.randint(eviction_dirty_target, trigger_max)
+ eviction_dirty_trigger = rng.randint(eviction_dirty_target + 1, trigger_max)
close_idle_time_secs = rng.randint(1, 100)
close_handle_minimum = rng.randint(0, 1000)