Modify the test to check whether there are any open cursors using $listLocalCursors rather than db.serverStatus(). This will allow to test whether there are any open cursors on the collection being used, rather than whether there are any open cursors (which may include cursors opened by background jobs and so on).
- Votes:
-
0 Vote for this issue
- Watchers:
-
2 Start watching this issue
- Created:
- Updated:
- Resolved: