summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierlauro Sciarelli <pierlauro.sciarelli@mongodb.com>2022-06-07 06:31:26 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-06-07 06:46:06 +0000
commit88e695b37b5abe9eb17009f42afef014cf596a87 (patch)
tree2d149b2848c897146dcda996bbf0086df1a304fa
parent2f6d662ab85da821d586530b52812d68ce7c8ffe (diff)
downloadmongo-88e695b37b5abe9eb17009f42afef014cf596a87.tar.gz
SERVER-67017 Account for one more chunk in shard_existing_coll_chunk_count.js
-rw-r--r--jstests/sharding/shard_existing_coll_chunk_count.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/sharding/shard_existing_coll_chunk_count.js b/jstests/sharding/shard_existing_coll_chunk_count.js
index 51fe2239b9f..11ed9133fbd 100644
--- a/jstests/sharding/shard_existing_coll_chunk_count.js
+++ b/jstests/sharding/shard_existing_coll_chunk_count.js
@@ -86,7 +86,7 @@ var runCase = function(opts) {
// Confirm number of chunks for this stage.
var numChunks = getNumberChunks(coll.getFullName());
assert.lte(numChunks,
- stage.expectedNumChunks,
+ stage.expectedNumChunks + 1, // (SERVER-67017) pad some slack
'in ' + coll.getFullName() + ' expected ' + stage.expectedNumChunks +
' chunks for stage ' + stageNum + ', but found ' + numChunks + '\nopts: ' +
tojson(opts) + '\nchunks:\n' + s.getChunksString(coll.getFullName()));