Skip to content

Added operation context to authentication #1298

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

Merged
merged 6 commits into from
Feb 7, 2024
Merged

Conversation

rozza
Copy link
Member

@rozza rozza commented Jan 23, 2024

@rozza rozza requested a review from vbabanin January 23, 2024 11:44
@rozza rozza requested a review from vbabanin February 1, 2024 10:53
@@ -182,6 +182,9 @@ private void doAdvanceOrThrow(final Throwable attemptException,
final boolean onlyRuntimeExceptions) throws Throwable {
assertTrue(attempt() < attempts);
assertNotNull(attemptException);
if (attemptException instanceof MongoOperationTimeoutException) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This conditional seems unrelated to the rest of the PR. What's the intention of including it?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had a test failing due to the wrapping of the exception that later occurs.

Copy link
Member

@vbabanin vbabanin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Just one question about the spec implementation.

@rozza rozza merged commit 92a1247 into mongodb:CSOT Feb 7, 2024
@rozza rozza deleted the JAVA-5211 branch February 7, 2024 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants