summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/storage_timestamp_tests.cpp
diff options
context:
space:
mode:
authorjannaerin <golden.janna@gmail.com>2021-12-22 23:45:59 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-01-26 02:04:33 +0000
commit2b422b15929493167518a567c2bf4c5b281b9ed6 (patch)
tree2822f9b4925f32b7772712b5f08813ef82e445eb /src/mongo/dbtests/storage_timestamp_tests.cpp
parent5800450d92e55551c79923d1c08e15df162be168 (diff)
downloadmongo-2b422b15929493167518a567c2bf4c5b281b9ed6.tar.gz
SERVER-62010 Change DurableCatalog to store TenantNamespace
Diffstat (limited to 'src/mongo/dbtests/storage_timestamp_tests.cpp')
-rw-r--r--src/mongo/dbtests/storage_timestamp_tests.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/dbtests/storage_timestamp_tests.cpp b/src/mongo/dbtests/storage_timestamp_tests.cpp
index 9622e723b80..79390ab1f2a 100644
--- a/src/mongo/dbtests/storage_timestamp_tests.cpp
+++ b/src/mongo/dbtests/storage_timestamp_tests.cpp
@@ -84,6 +84,7 @@
#include "mongo/db/session_catalog_mongod.h"
#include "mongo/db/storage/snapshot_manager.h"
#include "mongo/db/storage/storage_engine_impl.h"
+#include "mongo/db/tenant_namespace.h"
#include "mongo/db/transaction_participant.h"
#include "mongo/db/transaction_participant_gen.h"
#include "mongo/db/vector_clock_mutable.h"
@@ -3263,7 +3264,8 @@ public:
<< " incorrectly exists before creation. CreateTs: " << systemViewsCreateTs;
systemViewsMd = getMetaDataAtTime(durableCatalog, catalogId, systemViewsCreateTs);
- ASSERT_EQ(systemViewsNss.ns(), systemViewsMd->ns);
+ TenantNamespace tenantNs = systemViewsMd->tenantNs;
+ ASSERT_EQ(systemViewsNss.ns(), tenantNs.getNss().ns());
assertDocumentAtTimestamp(autoColl.getCollection(), systemViewsCreateTs, BSONObj());
assertDocumentAtTimestamp(autoColl.getCollection(),