[SERVER-37317] Make sleepmillis more conservative in slow transaction logging unit tests Created: 25/Sep/18 Updated: 29/Oct/23 Resolved: 19/Nov/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 4.0.5 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | William Schultz (Inactive) | Assignee: | William Schultz (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Sprint: | Repl 2018-12-03 | ||||||||||||
| Participants: | |||||||||||||
| Linked BF Score: | 34 | ||||||||||||
| Description |
|
In the TransactionParticipant unit tests, we currently sleep a bit to trigger the logging of slow transactions. Currently these sleeps are a bit flaky because they are very close to the slowMs value. We should increase the sleeps and consider reducing the slowMs value used in the test. The following tests should be updated:
|
| Comments |
| Comment by Githook User [ 19/Nov/18 ] |
|
Author: {'name': 'William Schultz', 'email': 'william.schultz@mongodb.com', 'username': 'will62794'}Message: |
| Comment by William Schultz (Inactive) [ 15/Oct/18 ] |
|
This should be fixed in 4.1 by |