diff options
author | Geert Bosch <geert@mongodb.com> | 2018-07-06 15:34:49 -0400 |
---|---|---|
committer | Geert Bosch <geert@mongodb.com> | 2018-07-06 15:34:49 -0400 |
commit | c7a0fc51917fd22ee48d07541fce7b88a1a5daf0 (patch) | |
tree | 115b38f560fd6c6eb67d78fdded6f0ed7a4af56b /jstests/noPassthrough/lock_stats.js | |
parent | ebe1ae8549dfc7ec7e12f9344c2da17a2ffb9acb (diff) | |
download | mongo-c7a0fc51917fd22ee48d07541fce7b88a1a5daf0.tar.gz |
SERVER-35984 Remove remaining MMAPv1 testing
Diffstat (limited to 'jstests/noPassthrough/lock_stats.js')
-rw-r--r-- | jstests/noPassthrough/lock_stats.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/jstests/noPassthrough/lock_stats.js b/jstests/noPassthrough/lock_stats.js index 73a3027b33f..08c60e9d9ca 100644 --- a/jstests/noPassthrough/lock_stats.js +++ b/jstests/noPassthrough/lock_stats.js @@ -11,7 +11,9 @@ var startStats = db.serverStatus().locks.Global; var startTime = new Date(); var minBlockedMillis = blockTimeMillis; - var s = startParallelShell('assert.commandWorked(db.adminCommand({fsync:1}));', conn.port); + // This is just some command that requires a MODE_X global lock that conflicts. + var s = startParallelShell( + 'assert.commandWorked(db.getSiblingDB(\'nonexisting\').dropDatabase());', conn.port); // Wait until we see somebody waiting to acquire the lock, defend against unset stats. assert.soon((function() { |