-
Notifications
You must be signed in to change notification settings - Fork 245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DRIVERS-2868 Adjust getMore maxTimeMS Calculation for tailable awaitData Cursors #1749
Conversation
source/client-side-operations-timeout/client-side-operations-timeout.md
Outdated
Show resolved
Hide resolved
source/client-side-operations-timeout/client-side-operations-timeout.md
Outdated
Show resolved
Hide resolved
source/client-side-operations-timeout/client-side-operations-timeout.md
Outdated
Show resolved
Hide resolved
source/client-side-operations-timeout/tests/tailable-awaitData.json
Outdated
Show resolved
Hide resolved
…imeout.md Co-authored-by: Viacheslav Babanin <frest0512@gmail.com>
source/client-side-operations-timeout/tests/tailable-awaitData.json
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
@vbabanin can you confirm this test passes in |
With the changes introduced by this spec update and the added unified tests, all tests pass in Java across all topologies. However, I observed some flakiness over multiple runs in I also tested using a I suggest adding a What do you think? |
|
||
- description: "apply maxAwaitTimeMS if less than remaining timeout" | ||
operations: | ||
- name: failPoint |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to @vbabanin this failpoint should be moved to the "apply remaining timeoutMS if less than maxAwaitTimeMS" test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vbabanin could you run the new tests and confirm the flakes are gone?
I re-ran the tests in this Java driver PR: mongodb/mongo-java-driver#1650 that includes tailable-awaitData.json changes. All tests passed with no flakiness observed. Here are the relevant details: |
DRIVERS-2868
Please complete the following before merging:
clusters, and serverless).