SERVER-125025 Re-enable replicate size and count for change stream fsm tests (#53493)

GitOrigin-RevId: 728c443a1ea9e80b150485552841e1b2b868801e
This commit is contained in:
Yuhong Zhang 2026-05-18 14:14:54 -04:00 committed by MongoDB Bot
parent bd87181dd2
commit e3ed5a819f

View File

@ -71,12 +71,6 @@ function getCurrentClusterTime(conn, dbName) {
* @returns {ShardingTest} The configured sharding test
*/
function createShardingTest(mongos = 1, shards = 3, rsNodes = 1, configShard = false, mongosOptions = {}) {
const isMultiversion =
Boolean(jsTest.options().useRandomBinVersionsWithinReplicaSet) || Boolean(TestData.multiversionBinVersion);
// TODO (SERVER-125025): remove the failpoint.
const failpointSetParameter = isMultiversion
? {}
: {"failpoint.useInMemoryReplicatedSizeCount": tojson({mode: "alwaysOn"})};
const stOptions = {
shards: shards,
mongos: mongos,
@ -86,7 +80,6 @@ function createShardingTest(mongos = 1, shards = 3, rsNodes = 1, configShard = f
setParameter: {
writePeriodicNoops: true,
periodicNoopIntervalSecs: 1,
...failpointSetParameter,
},
},
other: {