summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/resharding/resharding_destined_recipient_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/s/resharding/resharding_destined_recipient_test.cpp')
-rw-r--r--src/mongo/db/s/resharding/resharding_destined_recipient_test.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mongo/db/s/resharding/resharding_destined_recipient_test.cpp b/src/mongo/db/s/resharding/resharding_destined_recipient_test.cpp
index e942dcd139f..28f10ae9143 100644
--- a/src/mongo/db/s/resharding/resharding_destined_recipient_test.cpp
+++ b/src/mongo/db/s/resharding/resharding_destined_recipient_test.cpp
@@ -135,10 +135,10 @@ public:
return repl::OpTimeWith<std::vector<ShardType>>(_shards);
}
- std::vector<CollectionType> getCollections(
- OperationContext* opCtx,
- StringData dbName,
- repl::ReadConcernLevel readConcernLevel) override {
+ std::vector<CollectionType> getCollections(OperationContext* opCtx,
+ StringData dbName,
+ repl::ReadConcernLevel readConcernLevel,
+ const BSONObj& sort) override {
return _colls;
}
@@ -237,7 +237,7 @@ protected:
createChunks(env.version.epoch(), env.sourceUuid, env.version.getTimestamp(), "y"),
boost::none);
- forceDatabaseRefresh(opCtx, kNss.db());
+ ASSERT_OK(onDbVersionMismatchNoExcept(opCtx, kNss.db(), boost::none));
forceShardFilteringMetadataRefresh(opCtx, kNss);
if (refreshTempNss)