diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2019-02-12 16:56:00 -0500 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2019-02-22 07:19:19 -0500 |
commit | 63220b7df242b26f83c7083394b463c4e4b3a5d8 (patch) | |
tree | 203129f84d8afad520169a95fd03138af7b4107b /src/mongo/db/s/transaction_coordinator_test_fixture.cpp | |
parent | cdc5a7e8fe27e66b4a5f862cf9624130fd5e4eeb (diff) | |
download | mongo-63220b7df242b26f83c7083394b463c4e4b3a5d8.tar.gz |
SERVER-38522/SERVER-38715 Make all TransactionCoordinator tasks interruptible
Diffstat (limited to 'src/mongo/db/s/transaction_coordinator_test_fixture.cpp')
-rw-r--r-- | src/mongo/db/s/transaction_coordinator_test_fixture.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/transaction_coordinator_test_fixture.cpp b/src/mongo/db/s/transaction_coordinator_test_fixture.cpp index 6f6df8fe73e..d7384e906ae 100644 --- a/src/mongo/db/s/transaction_coordinator_test_fixture.cpp +++ b/src/mongo/db/s/transaction_coordinator_test_fixture.cpp @@ -101,7 +101,7 @@ void TransactionCoordinatorTestFixture::assertCommandSentAndRespondWith( const StatusWith<BSONObj>& response, boost::optional<BSONObj> expectedWriteConcern) { onCommand([&](const executor::RemoteCommandRequest& request) { - ASSERT_EQ(request.cmdObj.firstElement().fieldNameStringData(), commandName); + ASSERT_EQ(commandName, request.cmdObj.firstElement().fieldNameStringData()); if (expectedWriteConcern) { ASSERT_BSONOBJ_EQ( *expectedWriteConcern, |