[ 
https://issues.apache.org/jira/browse/LOG4J2-3019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17501254#comment-17501254
 ] 

Atul Pendse edited comment on LOG4J2-3019 at 3/4/22, 10:42 AM:
---------------------------------------------------------------

I hit a failure in HtmlLayoutTest (Mac and CentOS).


[ERROR]   
HtmlLayoutTest.testLayoutWithDatePatternFixedFormat:242->testLayoutWithDatePatternFixedFormat:273
 Incorrect date=<td>2012-11-02T14:34:02,123+05</td>, 
format=ISO8601_OFFSET_DATE_TIME_HH, timezone=null ==> expected: 
<<td>2012-11-02T14:34:02,123+0530</td>> but was: 
<<td>2012-11-02T14:34:02,123+05</td>>


My failure appears slightly different than reported one, but it's in same test. 
I am in GMT+0530 timezone. The test appears to ignore the 'minutes' part of 
timezone, and expect it to be just GMT+05, instead of GMT+0530


was (Author: JIRAUSER282521):
I hit a failure in HtmlLayoutTest (Mac and CentOS).

{{{{[ERROR]   
HtmlLayoutTest.testLayoutWithDatePatternFixedFormat:242->testLayoutWithDatePatternFixedFormat:273
 Incorrect date=<td>2012-11-02T14:34:02,123+05</td>, 
format=ISO8601_OFFSET_DATE_TIME_HH, timezone=null ==> expected: 
<<td>2012-11-02T14:34:02,123+0530</td>> but was: 
<<td>2012-11-02T14:34:02,123+05</td>>}}}}

My failure appears slightly different than reported one, but it's in same test. 
I am in GMT+0530 timezone. The test appears to ignore the 'minutes' part of 
timezone, and expect it to be just GMT+05, instead of GMT+0530

> 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.20.1#820001)

Reply via email to