yadavay-amzn commented on code in PR #16434:
URL: https://github.com/apache/iceberg/pull/16434#discussion_r3575213705
##########
kafka-connect/kafka-connect/src/test/java/org/apache/iceberg/connect/channel/ChannelTestBase.java:
##########
@@ -102,6 +102,7 @@ public void before() {
when(config.commitThreads()).thenReturn(1);
when(config.connectGroupId()).thenReturn(CONNECT_CONSUMER_GROUP_ID);
when(config.tableConfig(any())).thenReturn(mock(TableSinkConfig.class));
+ when(config.commitMaxConsecutiveFailures()).thenReturn(3);
Review Comment:
Changed the base stub to thenReturn(1) to match the production default
(COMMIT_MAX_CONSECUTIVE_FAILURES_DEFAULT = 1). The retry tests that need a
higher limit already override it locally, so their behavior is unchanged.
--
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]