Skip to content

Commit cee55db

Browse files
KAFKA-18794: Disable flaky tests pending investigation (apache#19340)
KafkaShareConsumerTest is proving very flaky. The behaviour of MockClient does not appear to match the expectations of the test. This PR disables the flaky tests to reduce build noise. When a proper solution has been worked out, the tests can be re-enabled. Reviewers: Chia-Ping Tsai <[email protected]>
1 parent 1eea7f0 commit cee55db

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

clients/src/test/java/org/apache/kafka/clients/consumer/KafkaShareConsumerTest.java

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@
4545
import org.apache.kafka.common.requests.ShareGroupHeartbeatResponse;
4646
import org.apache.kafka.common.serialization.Deserializer;
4747
import org.apache.kafka.common.serialization.StringDeserializer;
48-
import org.apache.kafka.common.test.api.Flaky;
4948
import org.apache.kafka.common.utils.LogContext;
5049
import org.apache.kafka.common.utils.MockTime;
5150
import org.apache.kafka.common.utils.Time;
5251

52+
import org.junit.jupiter.api.Disabled;
5353
import org.junit.jupiter.api.Test;
5454
import org.junit.jupiter.api.Timeout;
5555

@@ -140,7 +140,9 @@ public void testVerifyHeartbeats() throws InterruptedException {
140140
}
141141
}
142142

143-
@Flaky("KAFKA-18488")
143+
// This test is proving sufficiently flaky that it has been disabled pending investigation
144+
@Disabled
145+
// @Flaky("KAFKA-18488")
144146
@Test
145147
public void testVerifyFetchAndCommitSyncImplicit() {
146148
ConsumerMetadata metadata = new ConsumerMetadata(0, 0, Long.MAX_VALUE, false, false,
@@ -215,7 +217,9 @@ public void testVerifyFetchAndCommitSyncImplicit() {
215217
}
216218
}
217219

218-
@Flaky("KAFKA-18794")
220+
// This test is proving sufficiently flaky that it has been disabled pending investigation
221+
@Disabled
222+
//@Flaky("KAFKA-18794")
219223
@Test
220224
public void testVerifyFetchAndCloseImplicit() {
221225
ConsumerMetadata metadata = new ConsumerMetadata(0, 0, Long.MAX_VALUE, false, false,

0 commit comments

Comments
 (0)