nastra commented on code in PR #14773:
URL: https://github.com/apache/iceberg/pull/14773#discussion_r2668719311


##########
core/src/test/java/org/apache/iceberg/rest/RESTCatalogAdapter.java:
##########
@@ -122,6 +124,11 @@ public RESTCatalogAdapter(Catalog catalog) {
     this.asViewCatalog = catalog instanceof ViewCatalog ? (ViewCatalog) 
catalog : null;
   }
 
+  /** Test helper to simulate a transient 503 after the first successful 
mutation for a key. */
+  public void simulate503OnFirstSuccessForKey(String key) {

Review Comment:
   It would be great to not add test-specific code to the adapter/catalog 
handler. See my other comment on this: 
https://github.com/apache/iceberg/pull/14773#discussion_r2668698620



-- 
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]

Reply via email to