diff options
author | Daniel Gottlieb <daniel.gottlieb@mongodb.com> | 2019-08-29 18:55:44 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-08-29 18:55:44 +0000 |
commit | b894a92985314dbacced5abcc22d10c7ec0ea2b6 (patch) | |
tree | ae1c1e714087091cf6159919ce185baef8679801 /jstests | |
parent | 90a2f703465d3ed007111da228fa2aabe198eebd (diff) | |
download | mongo-b894a92985314dbacced5abcc22d10c7ec0ea2b6.tar.gz |
SERVER-42718: Disallow dropDatabase from running concurrently.
(cherry picked from commit 561169684e8160d2f738ba94b404f14c9115dcd1)
Diffstat (limited to 'jstests')
-rw-r--r-- | jstests/concurrency/fsm_workloads/map_reduce_drop.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/concurrency/fsm_workloads/map_reduce_drop.js b/jstests/concurrency/fsm_workloads/map_reduce_drop.js index 9066bca8375..039fcc8022b 100644 --- a/jstests/concurrency/fsm_workloads/map_reduce_drop.js +++ b/jstests/concurrency/fsm_workloads/map_reduce_drop.js @@ -41,8 +41,8 @@ var $config = (function() { function dropDB(db, collName) { var mapReduceDb = db.getSiblingDB(this.mapReduceDBName); - var res = mapReduceDb.dropDatabase(); - assertAlways.commandWorked(res); + // Concurrent dropDatabase calls can result in transient errors. + mapReduceDb.dropDatabase(); } function mapReduce(db, collName) { |