Details
-
Bug
-
Status: Closed
-
Major - P3
-
Resolution: Fixed
-
None
-
None
-
Fully Compatible
-
ALL
-
v4.0
-
Repl 2018-09-10, Repl 2018-09-24, Repl 2018-10-08
-
34
Description
Currently, many of the unit tests for transactions metrics in transaction_participant_test.cpp use real time sleeps in order to measure the passage of time and to check assertions.This can make the tests flaky and also slow. We should try to virtualize the clock source used for these tests to circumvent these issues.
Attachments
Issue Links
- is related to
-
SERVER-36846 TransactionsMetrics unit test should sleep a bit when trying to assert elapsed time > 0
-
- Closed
-
- related to
-
SERVER-37317 Make sleepmillis more conservative in slow transaction logging unit tests
-
- Closed
-