summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCheahuychou Mao <mao.cheahuychou@gmail.com>2023-04-14 18:45:22 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-04-14 20:38:46 +0000
commitf813f3fb276f70998eb8ab60a60d2d539af41b2b (patch)
treeec7eadc159803c87d542c6414de31f8627e2c110
parent0b9ca0ac96867a5c9252f6476d81e86c2dd0e327 (diff)
downloadmongo-f813f3fb276f70998eb8ab60a60d2d539af41b2b.tar.gz
SERVER-76148 Increase the number of documents used in monotonicity tests
(cherry picked from commit 71ff7d212f3af104dd6ab4faefac5a523102c56e)
-rw-r--r--jstests/sharding/analyze_shard_key/monotonicity_hashed_sharding_compound.js4
-rw-r--r--jstests/sharding/analyze_shard_key/monotonicity_hashed_sharding_non_compound.js4
-rw-r--r--jstests/sharding/analyze_shard_key/monotonicity_range_sharding_compound.js4
3 files changed, 6 insertions, 6 deletions
diff --git a/jstests/sharding/analyze_shard_key/monotonicity_hashed_sharding_compound.js b/jstests/sharding/analyze_shard_key/monotonicity_hashed_sharding_compound.js
index e071aadf4e7..aa45dcb3a75 100644
--- a/jstests/sharding/analyze_shard_key/monotonicity_hashed_sharding_compound.js
+++ b/jstests/sharding/analyze_shard_key/monotonicity_hashed_sharding_compound.js
@@ -56,8 +56,8 @@ for (let orderType0 of kOrderTypes) {
// This test requires the collection to contain at least a few thousands of documents to smooth out
// the noise in the insertion order caused by the oplog application batching on secondaries.
const numDocsRange = {
- min: 2500,
- max: 5000
+ min: 7500,
+ max: 10000
};
const setParameterOpts = {
diff --git a/jstests/sharding/analyze_shard_key/monotonicity_hashed_sharding_non_compound.js b/jstests/sharding/analyze_shard_key/monotonicity_hashed_sharding_non_compound.js
index 6439daab767..69af9c21f13 100644
--- a/jstests/sharding/analyze_shard_key/monotonicity_hashed_sharding_non_compound.js
+++ b/jstests/sharding/analyze_shard_key/monotonicity_hashed_sharding_non_compound.js
@@ -51,8 +51,8 @@ for (let orderType0 of kOrderTypes) {
// This test requires the collection to contain at least a few thousands of documents to smooth out
// the noise in the insertion order caused by the oplog application batching on secondaries.
const numDocsRange = {
- min: 2500,
- max: 5000
+ min: 7500,
+ max: 10000
};
const setParameterOpts = {
diff --git a/jstests/sharding/analyze_shard_key/monotonicity_range_sharding_compound.js b/jstests/sharding/analyze_shard_key/monotonicity_range_sharding_compound.js
index d5b95f6a3be..57b03ad858c 100644
--- a/jstests/sharding/analyze_shard_key/monotonicity_range_sharding_compound.js
+++ b/jstests/sharding/analyze_shard_key/monotonicity_range_sharding_compound.js
@@ -63,8 +63,8 @@ for (let orderType0 of kOrderTypes) {
// This test requires the collection to contain at least a few thousands of documents to smooth out
// the noise in the insertion order caused by the oplog application batching on secondaries.
const numDocsRange = {
- min: 2500,
- max: 5000
+ min: 7500,
+ max: 10000
};
const setParameterOpts = {