summaryrefslogtreecommitdiff
path: root/src/mongo/db/op_observer_impl_test.cpp
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2020-02-24 19:34:40 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-02-25 01:03:52 +0000
commit60f8edf788f75ac1a32bf702aae882b409767448 (patch)
tree8349abc7fce731c8f85e5ac2ed6894e900ba1763 /src/mongo/db/op_observer_impl_test.cpp
parent383d7183532929620cf31d7f89a0a37daaea8b8e (diff)
downloadmongo-60f8edf788f75ac1a32bf702aae882b409767448.tar.gz
SERVER-46219 Unit Tests should log with json
Diffstat (limited to 'src/mongo/db/op_observer_impl_test.cpp')
-rw-r--r--src/mongo/db/op_observer_impl_test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/op_observer_impl_test.cpp b/src/mongo/db/op_observer_impl_test.cpp
index 79270c9b5cd..e197b34b70c 100644
--- a/src/mongo/db/op_observer_impl_test.cpp
+++ b/src/mongo/db/op_observer_impl_test.cpp
@@ -555,9 +555,9 @@ DEATH_TEST_F(OpObserverTest, EachOnDeleteRequiresAboutToDelete, "invariant") {
opObserver.onDelete(opCtx.get(), nss, {}, kUninitializedStmtId, false, boost::none);
}
-DEATH_TEST_F(OpObserverTest,
- NodeCrashesIfShardIdentityDocumentRolledBack,
- "Fatal Assertion 50712") {
+DEATH_TEST_REGEX_F(OpObserverTest,
+ NodeCrashesIfShardIdentityDocumentRolledBack,
+ "Fatal Assertion.*50712") {
OpObserverImpl opObserver;
auto opCtx = cc().makeOperationContext();