This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch release-2.x in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
The following commit(s) were added to refs/heads/release-2.x by this push: new 2fc0ca9 Backout hack but leave reuse of constant. 2fc0ca9 is described below commit 2fc0ca956236ad394ecf45ad112edb84761805a2 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Tue Nov 27 23:06:25 2018 -0700 Backout hack but leave reuse of constant. --- .../log4j/core/appender/rolling/OnStartupTriggeringPolicyTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/rolling/OnStartupTriggeringPolicyTest.java b/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/rolling/OnStartupTriggeringPolicyTest.java index cf0f175..7a3c5ca 100644 --- a/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/rolling/OnStartupTriggeringPolicyTest.java +++ b/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/rolling/OnStartupTriggeringPolicyTest.java @@ -72,7 +72,7 @@ public class OnStartupTriggeringPolicyTest { assertTrue(size > 0); assertEquals(copied, size); - Assert.assertTrue(target.toFile().setLastModified(0)); + Assert.assertTrue(target.toFile().setLastModified(timeStamp)); final PatternLayout layout = PatternLayout.newBuilder().withPattern("%msg").withConfiguration(configuration) .build(); final RolloverStrategy strategy = DefaultRolloverStrategy.createStrategy(null, null, null, "0", null, true,