summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/sorted_data_interface_test_touch.cpp
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2014-10-16 09:08:28 -0400
committerEliot Horowitz <eliot@10gen.com>2014-10-16 17:56:42 -0400
commit34cfe32ab4c0751ceb55b607c05dc593c3dd901c (patch)
tree708e7fa2ba33df6a195bbae6d957308c07bbf28d /src/mongo/db/storage/sorted_data_interface_test_touch.cpp
parent5af2cac9e0de1bf20eba4790ecc3547c679dfd13 (diff)
downloadmongo-34cfe32ab4c0751ceb55b607c05dc593c3dd901c.tar.gz
SERVER-13635: pass whether an index is unique or not down through SortedDataInterface
Diffstat (limited to 'src/mongo/db/storage/sorted_data_interface_test_touch.cpp')
-rw-r--r--src/mongo/db/storage/sorted_data_interface_test_touch.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/storage/sorted_data_interface_test_touch.cpp b/src/mongo/db/storage/sorted_data_interface_test_touch.cpp
index c855d589287..94d7c150da7 100644
--- a/src/mongo/db/storage/sorted_data_interface_test_touch.cpp
+++ b/src/mongo/db/storage/sorted_data_interface_test_touch.cpp
@@ -38,7 +38,7 @@ namespace mongo {
// Verify that calling touch() on an empty index returns an OK status.
TEST( SortedDataInterface, TouchEmpty ) {
scoped_ptr<HarnessHelper> harnessHelper( newHarnessHelper() );
- scoped_ptr<SortedDataInterface> sorted( harnessHelper->newSortedDataInterface() );
+ scoped_ptr<SortedDataInterface> sorted( harnessHelper->newSortedDataInterface( false ) );
{
scoped_ptr<OperationContext> opCtx( harnessHelper->newOperationContext() );
@@ -49,7 +49,7 @@ namespace mongo {
// Verify that calling touch() on a nonempty index returns an OK status.
TEST( SortedDataInterface, TouchNonEmpty ) {
scoped_ptr<HarnessHelper> harnessHelper( newHarnessHelper() );
- scoped_ptr<SortedDataInterface> sorted( harnessHelper->newSortedDataInterface() );
+ scoped_ptr<SortedDataInterface> sorted( harnessHelper->newSortedDataInterface( true ) );
{
scoped_ptr<OperationContext> opCtx( harnessHelper->newOperationContext() );