vlad-lyutenko commented on code in PR #18910:
URL: https://github.com/apache/iceberg/pull/18910#discussion_r4737842150
##########
core/src/test/java/org/apache/iceberg/rest/TestRESTCatalog.java:
##########
@@ -2110,25 +2111,34 @@ public void
testCatalogTokenRefreshFailsAndUsesCredentialForRefresh(String oauth
any(),
any());
- // verify the first token exchange - since an exception is
thrown, we're performing
- // retries
- Mockito.verify(adapter, times(2))
+ // the first exchange with the catalog token throws. The retry
waits at least 100ms,
Review Comment:
refactored
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]