summaryrefslogtreecommitdiff
path: root/jstests/noPassthrough/indexbg1.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/noPassthrough/indexbg1.js')
-rw-r--r--jstests/noPassthrough/indexbg1.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/noPassthrough/indexbg1.js b/jstests/noPassthrough/indexbg1.js
index 640e703d1aa..666f80284b6 100644
--- a/jstests/noPassthrough/indexbg1.js
+++ b/jstests/noPassthrough/indexbg1.js
@@ -59,7 +59,7 @@ while( 1 ) { // if indexing finishes before we can run checks, try indexing w/ m
q.next();
assert( q.hasNext(), "no next" );
}
- var ex = t.find( {i:100} ).limit(-1).explain()
+ var ex = t.find( {i:100} ).limit(-1).explain("executionStats")
printjson(ex)
assert( ex.executionStats.totalKeysExamined < 1000 ,
"took too long to find 100: " + tojson( ex ) );