summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/indexupdatetests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/dbtests/indexupdatetests.cpp')
-rw-r--r--src/mongo/dbtests/indexupdatetests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/dbtests/indexupdatetests.cpp b/src/mongo/dbtests/indexupdatetests.cpp
index 2160975eb70..a1d594fb201 100644
--- a/src/mongo/dbtests/indexupdatetests.cpp
+++ b/src/mongo/dbtests/indexupdatetests.cpp
@@ -475,7 +475,7 @@ namespace IndexUpdateTests {
// Request an interrupt.
killCurrentOp.killAll();
// The call is not interrupted.
- Helpers::ensureIndex( _ns, BSON( "a" << 1 ), false, "a_1" );
+ Helpers::ensureIndex( collection(), BSON( "a" << 1 ), false, "a_1" );
// only want to interrupt the index build
killCurrentOp.reset();
// The new index is listed in system.indexes because the index build completed.