diff options
Diffstat (limited to 'src/mongo/db/s/transaction_coordinator_test_fixture.cpp')
-rw-r--r-- | src/mongo/db/s/transaction_coordinator_test_fixture.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mongo/db/s/transaction_coordinator_test_fixture.cpp b/src/mongo/db/s/transaction_coordinator_test_fixture.cpp index 256d0905278..377a1993213 100644 --- a/src/mongo/db/s/transaction_coordinator_test_fixture.cpp +++ b/src/mongo/db/s/transaction_coordinator_test_fixture.cpp @@ -39,7 +39,6 @@ #include "mongo/db/operation_context.h" #include "mongo/db/repl/wait_for_majority_service.h" #include "mongo/rpc/metadata/client_metadata.h" -#include "mongo/rpc/metadata/client_metadata_ismaster.h" #include "mongo/s/catalog/sharding_catalog_client_mock.h" #include "mongo/s/catalog/type_shard.h" #include "mongo/unittest/unittest.h" @@ -137,7 +136,6 @@ void TransactionCoordinatorTestFixture::associateClientMetadata(Client* client, &metadataBuilder)); auto clientMetadata = metadataBuilder.obj(); auto clientMetadataParse = ClientMetadata::parse(clientMetadata["client"]); - ClientMetadataIsMasterState::setClientMetadata(client, - std::move(clientMetadataParse.getValue())); + ClientMetadata::setAndFinalize(client, std::move(clientMetadataParse.getValue())); } } // namespace mongo |