-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Conversation
@@ -182,6 +182,9 @@ private void doAdvanceOrThrow(final Throwable attemptException, | |||
final boolean onlyRuntimeExceptions) throws Throwable { | |||
assertTrue(attempt() < attempts); | |||
assertNotNull(attemptException); | |||
if (attemptException instanceof MongoOperationTimeoutException) { |
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.
This conditional seems unrelated to the rest of the PR. What's the intention of including it?
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.
Had a test failing due to the wrapping of the exception that later occurs.
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.
Looks good! Just one question about the spec implementation.
JAVA-5211