diff options
author | Benety Goh <benety@mongodb.com> | 2019-05-17 13:54:03 -0400 |
---|---|---|
committer | Benety Goh <benety@mongodb.com> | 2019-05-17 13:54:18 -0400 |
commit | 6cebd61ff8d36e5b61e491419baa4808a98324a6 (patch) | |
tree | 8c058568f008685ba7f8ed4ffe123980548f636a | |
parent | 1d1a7182c70a4c13782af9a60067cac5008ca3c6 (diff) | |
download | mongo-6cebd61ff8d36e5b61e491419baa4808a98324a6.tar.gz |
SERVER-40985 handle windows line endings in test
-rw-r--r-- | src/mongo/s/transaction_router_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/transaction_router_test.cpp b/src/mongo/s/transaction_router_test.cpp index cda3c684205..2cff98f6174 100644 --- a/src/mongo/s/transaction_router_test.cpp +++ b/src/mongo/s/transaction_router_test.cpp @@ -3044,7 +3044,7 @@ TEST_F(TransactionRouterMetricsTest, SlowLoggingPrintsDurationAtEnd) { tickSource()->advance(Milliseconds(111)); assertDurationIs(Milliseconds(111)); runCommit(kDummyOkRes); - ASSERT_EQUALS(1, countLogLinesContaining(" 111ms\n")); + ASSERT_EQUALS(1, countLogLinesContaining(" 111ms\n") + countLogLinesContaining(" 111ms\r\n")); } // |