diff options
author | Faustoleyva54 <fausto.leyva@mongodb.com> | 2022-11-24 04:54:22 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-11-24 05:23:36 +0000 |
commit | 88f4a04a3e80a139d000caa7f212f5faa168f7e4 (patch) | |
tree | 1b8a98dbfa3ccfaa4f99fd9e80176b7f1dcbe712 /jstests/sharding/timeseries_coll_mod.js | |
parent | eaafcf8243e7ca4770bbaca00f46b569b474f2c1 (diff) | |
download | mongo-88f4a04a3e80a139d000caa7f212f5faa168f7e4.tar.gz |
SERVER-70258 Test custom bucketMaxSpanSeconds and bucketRoundingSeconds values with sharding
Diffstat (limited to 'jstests/sharding/timeseries_coll_mod.js')
-rw-r--r-- | jstests/sharding/timeseries_coll_mod.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/jstests/sharding/timeseries_coll_mod.js b/jstests/sharding/timeseries_coll_mod.js index 67be3a51bfc..ffe93303f3e 100644 --- a/jstests/sharding/timeseries_coll_mod.js +++ b/jstests/sharding/timeseries_coll_mod.js @@ -89,6 +89,7 @@ function runReadAfterWriteTest() { shard0.getDB(dbName).adminCommand({getParameter: 1, featureCompatibilityVersion: 1})); if (MongoRunner.compareBinVersions(fcvResult.featureCompatibilityVersion.version, "6.0") < 0) { jsTestLog("FCV is less than 6.0, skip granularity update read after write test"); + st.stop(); return; } @@ -136,6 +137,8 @@ function runReadAfterWriteTest() { failPoint.wait(); + // While the collMod command on the config server is still being processed, inserts on the + // collection should be blocked. assert.commandFailedWithCode( mongos0.getDB(dbName).runCommand( {insert: collName, documents: [{[timeField]: ISODate()}], maxTimeMS: 2000}), |