summaryrefslogtreecommitdiff
path: root/jstests/noPassthrough
diff options
context:
space:
mode:
authorA. Jesse Jiryu Davis <jesse@mongodb.com>2020-06-11 15:52:54 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-06-11 20:17:46 +0000
commite485c1a8011d85682cb8dafa87ab92b9c23daa66 (patch)
tree6f81bf10da29be6451f073af361b5f8e94252bc5 /jstests/noPassthrough
parent5c7cdc392c2ea058d7ec93609203fcc5bb74bb99 (diff)
downloadmongo-e485c1a8011d85682cb8dafa87ab92b9c23daa66.tar.gz
Revert "SERVER-47952 Shard selects timestamp for one-shard snapshot find"
This reverts commit 219dadadf97345a4cceab50f04e87b361a749c6c.
Diffstat (limited to 'jstests/noPassthrough')
-rw-r--r--jstests/noPassthrough/readConcern_snapshot_mongos.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/noPassthrough/readConcern_snapshot_mongos.js b/jstests/noPassthrough/readConcern_snapshot_mongos.js
index 066c281c5cd..c1be784e73a 100644
--- a/jstests/noPassthrough/readConcern_snapshot_mongos.js
+++ b/jstests/noPassthrough/readConcern_snapshot_mongos.js
@@ -20,7 +20,7 @@ let st = new ShardingTest({shards: 1, rs: {nodes: 2}, config: 2, mongos: 1});
let testDB = st.getDB(dbName);
// Insert data to create the collection.
-assert.commandWorked(testDB[collName].insert({x: 1}, {writeConcern: {w: "majority"}}));
+assert.commandWorked(testDB[collName].insert({x: 1}));
flushRoutersAndRefreshShardMetadata(st, {ns: dbName + "." + collName, dbNames: [dbName]});