You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ma...@apache.org on 2022/11/20 02:02:59 UTC
[logging-log4j2] branch master updated: [LOG4J2-3633] Disable flaky RollingAppenderCronOnceADayTest
This is an automated email from the ASF dual-hosted git repository.
mattsicker pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
The following commit(s) were added to refs/heads/master by this push:
new d237c32e70 [LOG4J2-3633] Disable flaky RollingAppenderCronOnceADayTest
d237c32e70 is described below
commit d237c32e70375542bd012c229a58b1ef76a357bb
Author: Matt Sicker <ma...@apache.org>
AuthorDate: Sat Nov 19 20:02:49 2022 -0600
[LOG4J2-3633] Disable flaky RollingAppenderCronOnceADayTest
After having failed CI randomly more than once, off to disabled land you go until someone can fix the test to be deterministic.
Signed-off-by: Matt Sicker <ma...@apache.org>
---
.../log4j/core/appender/rolling/RollingAppenderCronOnceADayTest.java | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/log4j-core-test/src/test/java/org/apache/logging/log4j/core/appender/rolling/RollingAppenderCronOnceADayTest.java b/log4j-core-test/src/test/java/org/apache/logging/log4j/core/appender/rolling/RollingAppenderCronOnceADayTest.java
index ce443b63c1..661b6c91e4 100644
--- a/log4j-core-test/src/test/java/org/apache/logging/log4j/core/appender/rolling/RollingAppenderCronOnceADayTest.java
+++ b/log4j-core-test/src/test/java/org/apache/logging/log4j/core/appender/rolling/RollingAppenderCronOnceADayTest.java
@@ -23,6 +23,8 @@ import org.apache.logging.log4j.plugins.Named;
import org.apache.logging.log4j.status.StatusLogger;
import org.apache.logging.log4j.test.junit.CleanUpDirectories;
import org.junit.jupiter.api.BeforeAll;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import java.io.File;
@@ -37,6 +39,8 @@ import static org.assertj.core.api.Assertions.assertThat;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;
+@Tag("flaky")
+@Disabled("https://issues.apache.org/jira/browse/LOG4J2-3633")
public class RollingAppenderCronOnceADayTest extends AbstractRollingListenerTest {
private static final int CRON_DELAY = 10;