-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
None
-
Fully Compatible
-
ALL
-
v4.0
-
Repl 2018-09-10, Repl 2018-09-24, Repl 2018-10-08
-
34
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.
- 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