Skip to content
Prev Previous commit
Next Next commit
Update driver-sync/src/test/functional/com/mongodb/internal/connectio…
…n/OidcAuthenticationProseTests.java Co-authored-by: Valentin Kovalenko <valentin.male.kovalenko@gmail.com>
  • Loading branch information
vbabanin and stIncMale authored Jun 26, 2025
commit 233b66be547f4f60bff30c06e3ba5212e25b9fc3
Original file line number Diff line number Diff line change
Expand Up @@ -280,9 +280,8 @@ void testCallbackTimeoutWhenServerSelectionTimeoutMsIsInfiniteTimeoutMsIsSet() {

OidcCallback callback2 = (context) -> {
assertEquals(expectedTimeout, context.getTimeout(),
format("Expected timeout to be infinite (%d seconds), but was %d seconds",
expectedTimeout.getSeconds(),
context.getTimeout().getSeconds()));
format("Expected timeout to be infinite (%s), but was %s",
expectedTimeout, context.getTimeout()));

return callback1.onRequest(context);
};
Expand Down