Skip to content

Commit

Permalink
improve log
Browse files Browse the repository at this point in the history
  • Loading branch information
TaiJuWu committed Aug 2, 2024
1 parent ed179c8 commit 1cb7b87
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@
import org.apache.kafka.timeline.SnapshotRegistry;

import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.RepeatedTest;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.Timeout;
import org.junit.jupiter.params.ParameterizedTest;
Expand Down Expand Up @@ -268,7 +269,7 @@ private void testDelayedConfigurationOperations(
assertEquals(Collections.singletonMap(BROKER0, ApiError.NONE), future1.get());
}

@Test
@RepeatedTest(25)
public void testFenceMultipleBrokers() throws Throwable {
List<Integer> allBrokers = Arrays.asList(1, 2, 3, 4, 5);
List<Integer> brokersToKeepUnfenced = Arrays.asList(1);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ private void scheduleLogCheck() {
numEntriesFound++;
}
}
log.trace("Completed log check for node " + nodeId);
log.debug("Completed log check for node " + nodeId);
} catch (Exception e) {
log.error("Exception while handling log check", e);
}
Expand Down

0 comments on commit 1cb7b87

Please sign in to comment.