summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/oplog_fetcher_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/repl/oplog_fetcher_test.cpp
parent383d7183532929620cf31d7f89a0a37daaea8b8e (diff)
downloadmongo-60f8edf788f75ac1a32bf702aae882b409767448.tar.gz
SERVER-46219 Unit Tests should log with json
Diffstat (limited to 'src/mongo/db/repl/oplog_fetcher_test.cpp')
-rw-r--r--src/mongo/db/repl/oplog_fetcher_test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/repl/oplog_fetcher_test.cpp b/src/mongo/db/repl/oplog_fetcher_test.cpp
index ae50946d213..0191fc2ada0 100644
--- a/src/mongo/db/repl/oplog_fetcher_test.cpp
+++ b/src/mongo/db/repl/oplog_fetcher_test.cpp
@@ -824,9 +824,9 @@ TEST_F(OplogFetcherTest, InvalidOplogQueryMetadataInResponseStopsTheOplogFetcher
processSingleBatch(makeFirstBatch(cursorId, {entry}, metadataObj))->getStatus());
}
-DEATH_TEST_F(OplogFetcherTest,
- ValidMetadataInResponseWithoutOplogMetadataInvariants,
- "Invariant failure oqMetadata") {
+DEATH_TEST_REGEX_F(OplogFetcherTest,
+ ValidMetadataInResponseWithoutOplogMetadataInvariants,
+ "Invariant failure.*oqMetadata") {
CursorId cursorId = 22LL;
auto entry = makeNoopOplogEntry(lastFetched);
auto metadataObj = makeOplogBatchMetadata(replSetMetadata, boost::none);