summaryrefslogtreecommitdiff
path: root/src/mongo/db
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db')
-rw-r--r--src/mongo/db/sorter/sorter_test.cpp4
-rw-r--r--src/mongo/db/storage/mmap_v1/btree/btree_logic_test.cpp7
2 files changed, 8 insertions, 3 deletions
diff --git a/src/mongo/db/sorter/sorter_test.cpp b/src/mongo/db/sorter/sorter_test.cpp
index 610075373d6..78a129d2b0e 100644
--- a/src/mongo/db/sorter/sorter_test.cpp
+++ b/src/mongo/db/sorter/sorter_test.cpp
@@ -545,5 +545,7 @@ namespace mongo {
add<SorterTests::LotsOfDataWithLimit<5000,/*random=*/false> >(); // spills
add<SorterTests::LotsOfDataWithLimit<5000,/*random=*/true> >(); // spills
}
- } extSortTests;
+ };
+
+ mongo::unittest::SuiteInstance<SorterSuite> extSortTests;
}
diff --git a/src/mongo/db/storage/mmap_v1/btree/btree_logic_test.cpp b/src/mongo/db/storage/mmap_v1/btree/btree_logic_test.cpp
index d1d6e3d1de3..16d773f9a22 100644
--- a/src/mongo/db/storage/mmap_v1/btree/btree_logic_test.cpp
+++ b/src/mongo/db/storage/mmap_v1/btree/btree_logic_test.cpp
@@ -2258,6 +2258,9 @@ namespace mongo {
};
// Test suite for both V0 and V1
- static BtreeLogicTestSuite<BtreeLayoutV0> SUITE_V0("BTreeLogicTests_V0");
- static BtreeLogicTestSuite<BtreeLayoutV1> SUITE_V1("BTreeLogicTests_V1");
+ static unittest::SuiteInstance< BtreeLogicTestSuite<BtreeLayoutV0> > SUITE_V0(
+ "BTreeLogicTests_V0");
+
+ static unittest::SuiteInstance< BtreeLogicTestSuite<BtreeLayoutV1> > SUITE_V1(
+ "BTreeLogicTests_V1");
}