[
https://issues.apache.org/jira/browse/LOG4J2-3019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17284286#comment-17284286
]
Gary D. Gregory commented on LOG4J2-3019:
-----------------------------------------
OK for me:
{noformat}
mvn test -pl log4j-core -Dtest=HtmlLayoutTest
{noformat}
{noformat}
[INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ log4j-core ---
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.apache.logging.log4j.core.layout.HtmlLayoutTest
[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.199 s
- in org.apache.logging.log4j.core.layout.HtmlLayoutTest
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:15 min
[INFO] Finished at: 2021-02-13T15:45:37-05:00
[INFO] ------------------------------------------------------------------------
{noformat}
Using:
{noformat}
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: C:\Java\apache-maven-3.6.3\bin\..
Java version: 1.8.0_261, vendor: Oracle Corporation, runtime: C:\Program
Files\Java\jdk1.8.0_261\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
{noformat}
{noformat}
Microsoft Windows [Version 10.0.19041.746]
{noformat}
{noformat}
commit 9788f33fc62b3b4012489a603772433d3440e6b0 (HEAD -> release-2.x,
origin/release-2.x)
Author: Ralph Goers <[email protected]>
Date: Sun Feb 7 14:58:24 2021 -0700
{noformat}
> HtmlLayoutTest.testLayoutWithDatePatternFixedFormat test fails on windows
> -------------------------------------------------------------------------
>
> Key: LOG4J2-3019
> URL: https://issues.apache.org/jira/browse/LOG4J2-3019
> Project: Log4j 2
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.14.0
> Environment: OS: Windows 10 Enterprise
> Version: 20H2
> OS Build: 19042.746
> Experience: Windows Feature Experience Pack 120.2212.551.0
> java version "1.8.0_192"
> Java(TM) SE Runtime Environment (build 1.8.0_192-b12)
> Java HotSpot(TM) 64-Bit Server VM (build 25.192-b12, mixed mode)
> Reporter: Luc Kleeven
> Assignee: Volkan Yazici
> Priority: Minor
>
> When running a './mvnw verify' on the 'release-2.x' branche, last commit id
> '9788f33fc62b3b4012489a603772433d3440e6b0'. The following test fails:
> {code:java}
> [ERROR]
> HtmlLayoutTest.testLayoutWithDatePatternFixedFormat:242->testLayoutWithDatePatternFixedFormat:273
> Incorrect date=<td>02 Nov 2012 21:34:02,123</td>, format=DATE,
> timezone=GMT+8 ==> expected: <<td>02 nov 2012 21:34:02,123</td>> but was:
> <<td>02 Nov 2012 21:34:02,123</td>> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)