diff options
Diffstat (limited to 'jstests/parallel/basicPlus.js')
-rw-r--r-- | jstests/parallel/basicPlus.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/jstests/parallel/basicPlus.js b/jstests/parallel/basicPlus.js index 2ecb20d6c21..778137ca0d8 100644 --- a/jstests/parallel/basicPlus.js +++ b/jstests/parallel/basicPlus.js @@ -21,6 +21,9 @@ for (var i = 4; i < 8; ++i) { expected % 1000 == 0, expected % 500 == 0); g.addInsert({_id: j}); + // Add currentOp commands running in parallel. Historically there have been many race + // conditions between various commands and the currentOp command. + g.addCurrentOp(); } t.add(EventGenerator.dispatch, g.getEvents()); } |