Skip to content

Commit 7337631

Browse files
authored
MINOR: Disable testShareGroupMaxSizeConfigExceeded and mark testAcknowledgementCommitCallbackThrowsException as Flaky (#20786)
Disabling the test to prevent flakiness in build. Complete analysis @ https://issues.apache.org/jira/browse/KAFKA-19840. Reviewers: Andrew Schofield <[email protected]>
1 parent a395d06 commit 7337631

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

clients/clients-integration-tests/src/test/java/org/apache/kafka/clients/consumer/ShareConsumerTest.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
import org.apache.kafka.common.test.api.ClusterConfigProperty;
5959
import org.apache.kafka.common.test.api.ClusterTest;
6060
import org.apache.kafka.common.test.api.ClusterTestDefaults;
61+
import org.apache.kafka.common.test.api.Flaky;
6162
import org.apache.kafka.common.test.api.Type;
6263
import org.apache.kafka.common.utils.Utils;
6364
import org.apache.kafka.coordinator.group.GroupConfig;
@@ -66,6 +67,7 @@
6667
import org.apache.kafka.test.TestUtils;
6768

6869
import org.junit.jupiter.api.BeforeEach;
70+
import org.junit.jupiter.api.Disabled;
6971
import org.junit.jupiter.api.Tag;
7072
import org.junit.jupiter.api.Timeout;
7173

@@ -1619,6 +1621,7 @@ public void onComplete(Map<TopicIdPartition, Set<Long>> offsetsMap, Exception ex
16191621
* Test to verify that the acknowledgement commit callback can throw an exception, and it is propagated
16201622
* to the caller of poll().
16211623
*/
1624+
@Flaky("KAFKA-19840") // https://issues.apache.org/jira/browse/KAFKA-19840
16221625
@ClusterTest
16231626
public void testAcknowledgementCommitCallbackThrowsException() throws InterruptedException {
16241627
alterShareAutoOffsetReset("group1", "earliest");
@@ -2333,6 +2336,7 @@ public void testComplexShareConsumer() throws Exception {
23332336
verifyShareGroupStateTopicRecordsProduced();
23342337
}
23352338

2339+
@Disabled("KAFKA-19840") // https://issues.apache.org/jira/browse/KAFKA-19840
23362340
@ClusterTest(
23372341
brokers = 1,
23382342
serverProperties = {

0 commit comments

Comments
 (0)