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:
parent
4e77457f23
commit
630ec60bf3
@ -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);
|
||||
|
||||
@ -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);
|
||||
|
||||
@ -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);
|
||||
|
||||
@ -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);
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user