[CSHARP-3098] "Parse lastWriteDate" test requires a larger periodic noop write interval Created: 08/May/20 Updated: 31/Mar/22 |
|
| Status: | Backlog |
| Project: | C# Driver |
| Component/s: | Testing |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Backlog - Core Eng Program Management Team | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Description |
Description of Drivers Ticket:The "Parse lastWriteDate" from the Max Staleness tests may not succeed if mongod is configured with periodicNoopIntervalSecs of 1. The test verifies that the client observes an increase in lastWriteDate after performing these steps (copied verbatim): 1. Insert a document and wait one second. I believe this is due to setting the periodicNoopIntervalSecs to 1 in mongo orchestration from this change. libmongoc's implementation of this test was inconsistently failing. And the resulting investigation ( I think the most straightforward fix is to add another sleep between the first server selection and the insert, so they do not end up falling within the same second. |