diff options
Diffstat (limited to 'jstests/noPassthrough/timestamp_index_builds.js')
-rw-r--r-- | jstests/noPassthrough/timestamp_index_builds.js | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/jstests/noPassthrough/timestamp_index_builds.js b/jstests/noPassthrough/timestamp_index_builds.js index 3ebda4f3691..b55b1805e00 100644 --- a/jstests/noPassthrough/timestamp_index_builds.js +++ b/jstests/noPassthrough/timestamp_index_builds.js @@ -41,12 +41,7 @@ let coll = getColl(rst.getPrimary()); - // TODO Can be removed with SERVER-33165. - // - // Create a collection and perform two majority writes. This guarantees both nodes will have a - // stable timestamp. - assert.commandWorked( - coll.insert({}, {writeConcern: {w: "majority", wtimeout: rst.kDefaultTimeoutMS}})); + // Create a collection and wait for the stable timestamp to exceed its creation on both nodes. assert.commandWorked( coll.insert({}, {writeConcern: {w: "majority", wtimeout: rst.kDefaultTimeoutMS}})); |