First, limit inserts to avoid rolling over the oplog.
Second, accept the case where hasNext returns false and have the test re-issue the query.
First, limit inserts to avoid rolling over the oplog.
Second, accept the case where hasNext returns false and have the test re-issue the query.