Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
TaiJuWu committed Jan 14, 2025
1 parent 9bbc792 commit 4e4ed89
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
import org.apache.kafka.test.TestUtils;

import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.RepeatedTest;
import org.junit.jupiter.api.Test;

import java.nio.ByteBuffer;
Expand Down Expand Up @@ -1435,8 +1435,8 @@ public void testWakeupAfterJoinGroupReceivedExternalCompletion() throws Exceptio
awaitFirstHeartbeat(heartbeatReceived);
}

@Tag("flaky") // "KAFKA-18310"
@Test
// @Tag("flaky") // "KAFKA-18310"
@RepeatedTest(20)
public void testWakeupAfterSyncGroupSentExternalCompletion() throws Exception {
setupCoordinator();

Expand Down Expand Up @@ -1472,8 +1472,8 @@ public boolean matches(AbstractRequest body) {
awaitFirstHeartbeat(heartbeatReceived);
}

@Tag("flaky") // "KAFKA-18310"
@Test
// @Tag("flaky") // "KAFKA-18310"
@RepeatedTest(20)
public void testWakeupAfterSyncGroupReceived() throws Exception {
setupCoordinator();

Expand Down Expand Up @@ -1506,8 +1506,8 @@ public void testWakeupAfterSyncGroupReceived() throws Exception {
awaitFirstHeartbeat(heartbeatReceived);
}

@Tag("flaky") // KAFKA-15474 and KAFKA-18310
@Test
// @Tag("flaky") // KAFKA-15474 and KAFKA-18310
@RepeatedTest(20)
public void testWakeupAfterSyncGroupReceivedExternalCompletion() throws Exception {
setupCoordinator();

Expand Down
4 changes: 3 additions & 1 deletion clients/src/test/resources/log4j2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@ Configuration:
AppenderRef:
- ref: STDOUT
Logger:
- name: kafka
level: DEBUG
- name: org.apache.kafka
level: ERROR
level: DEBUG
# We are testing for a particular INFO log message in CommonNameLoggingTrustManagerFactoryWrapper
- name: org.apache.kafka.common.security.ssl.CommonNameLoggingTrustManagerFactoryWrapper
level: INFO

0 comments on commit 4e4ed89

Please sign in to comment.