diff options
author | William Schultz <william.schultz@mongodb.com> | 2018-04-11 08:54:37 -0400 |
---|---|---|
committer | William Schultz <william.schultz@mongodb.com> | 2018-04-11 08:54:37 -0400 |
commit | f205975ea89798fa1b6d91097226ae7b10ad9f3c (patch) | |
tree | 245a694913e291aab410c63ad9ac9270de98dc85 /src/mongo/db/session_catalog_test.cpp | |
parent | e96569ea3b7644fb7c60cb47df90e7dc369ea957 (diff) | |
download | mongo-f205975ea89798fa1b6d91097226ae7b10ad9f3c.tar.gz |
Revert "SERVER-33501 Support retryable writes for commitTransaction command"
This reverts commit 4e1fff07b0d76337232abc682fbbe13c546e5c13.
Diffstat (limited to 'src/mongo/db/session_catalog_test.cpp')
-rw-r--r-- | src/mongo/db/session_catalog_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/session_catalog_test.cpp b/src/mongo/db/session_catalog_test.cpp index 68151010483..641c0880ca2 100644 --- a/src/mongo/db/session_catalog_test.cpp +++ b/src/mongo/db/session_catalog_test.cpp @@ -190,7 +190,7 @@ TEST_F(SessionCatalogTest, StashInNestedSessionIsANoop) { repl::ReadConcernArgs::get(opCtx()) = readConcernArgs; // Perform initial unstash, which sets up a WriteUnitOfWork. - OperationContextSession::get(opCtx())->unstashTransactionResources(opCtx(), "find"); + OperationContextSession::get(opCtx())->unstashTransactionResources(opCtx()); ASSERT_EQUALS(originalLocker, opCtx()->lockState()); ASSERT_EQUALS(originalRecoveryUnit, opCtx()->recoveryUnit()); ASSERT(opCtx()->getWriteUnitOfWork()); @@ -241,7 +241,7 @@ TEST_F(SessionCatalogTest, UnstashInNestedSessionIsANoop) { DirectClientSetter inDirectClient(opCtx()); OperationContextSession innerScopedSession(opCtx(), true, boost::none, boost::none); - OperationContextSession::get(opCtx())->unstashTransactionResources(opCtx(), "find"); + OperationContextSession::get(opCtx())->unstashTransactionResources(opCtx()); // The unstash was a noop, so the OperationContext did not get a WriteUnitOfWork. ASSERT_EQUALS(originalLocker, opCtx()->lockState()); |