SERVER-123477 get rid of MaxTimeMS param in sharding txn tests where it's not needed (#51180)

GitOrigin-RevId: 588931acc20baeede72086532841827e754b1450
This commit is contained in:
Vishnu K 2026-04-08 15:50:31 +10:00 committed by MongoDB Bot
parent 4e77457f23
commit 630ec60bf3
5 changed files with 0 additions and 5 deletions

View File

@ -90,7 +90,6 @@ res = assert.commandWorked(
st.s.getDB(dbName).runCommand({
find: collName,
readConcern: {level: "majority", afterClusterTime: commitTimestamp},
maxTimeMS: 10000,
}),
);
assert.eq(3, res.cursor.firstBatch.length);

View File

@ -218,7 +218,6 @@ const testCommitProtocol = function (shouldCommit, simulateNetworkFailures) {
st.s.getDB(dbName).runCommand({
find: collName,
readConcern: {level: "majority", afterClusterTime: commitTimestamp},
maxTimeMS: 10000,
}),
);
assert.eq(3, res.cursor.firstBatch.length);

View File

@ -204,7 +204,6 @@ const runTest = function (sameNodeStepsUpAfterFailover) {
st.s.getDB(dbName).runCommand({
find: collName,
readConcern: {level: "majority", afterClusterTime: commitTimestamp},
maxTimeMS: 10000,
}),
);
assert.eq(3, res.cursor.firstBatch.length);

View File

@ -208,7 +208,6 @@ const testCommitProtocol = function (shouldCommit, failpointData) {
st.s.getDB(dbName).runCommand({
find: collName,
readConcern: {level: "majority", afterClusterTime: commitTimestamp},
maxTimeMS: 10000,
}),
);
assert.eq(3, res.cursor.firstBatch.length);

View File

@ -103,7 +103,6 @@ const testCommitProtocol = function () {
st.s.getDB(dbName).runCommand({
find: collName,
readConcern: {level: "majority", afterClusterTime: commitTimestamp},
maxTimeMS: 10000,
}),
);
assert.eq(3, res.cursor.firstBatch.length);