summaryrefslogtreecommitdiff
path: root/src/mongo/s/catalog_cache_test_fixture.h
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2020-10-30 11:48:09 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-11-03 16:39:42 +0000
commitab6d6baf541e762b272738da8d9c5b257caa3be4 (patch)
tree0f9a824c741fc4a5ced8fb792b82893bfc228f0e /src/mongo/s/catalog_cache_test_fixture.h
parentcd587a2171ea96b86ac82508eef065a601e4f3df (diff)
downloadmongo-ab6d6baf541e762b272738da8d9c5b257caa3be4.tar.gz
SERVER-50027 Convert the CollectionType's UUID field to IDL
... and make it required
Diffstat (limited to 'src/mongo/s/catalog_cache_test_fixture.h')
-rw-r--r--src/mongo/s/catalog_cache_test_fixture.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/s/catalog_cache_test_fixture.h b/src/mongo/s/catalog_cache_test_fixture.h
index fb6c53a6dad..a42af988697 100644
--- a/src/mongo/s/catalog_cache_test_fixture.h
+++ b/src/mongo/s/catalog_cache_test_fixture.h
@@ -119,7 +119,7 @@ protected:
NamespaceString nss,
const BSONObj& shardKey,
boost::optional<std::string> primaryShardId = boost::none,
- boost::optional<UUID> uuid = boost::none);
+ UUID uuid = UUID::gen());
/**
* Mocks network responses for loading a sharded database and collection from the config server.
@@ -127,8 +127,8 @@ protected:
void expectGetDatabase(NamespaceString nss, std::string primaryShard = "0");
void expectGetCollection(NamespaceString nss,
OID epoch,
- const ShardKeyPattern& shardKeyPattern,
- boost::optional<UUID> uuid = boost::none);
+ UUID uuid,
+ const ShardKeyPattern& shardKeyPattern);
const HostAndPort kConfigHostAndPort{"DummyConfig", 1234};
};