You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Bruno P. Kinoshita (Jira)" <ji...@apache.org> on 2022/12/07 12:45:00 UTC

[jira] [Commented] (LANG-1693) "CalendarUtilsTest" fails, or not...

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

Bruno P. Kinoshita commented on LANG-1693:
------------------------------------------

Tested on my Linux LTS JVM 11, but could not reproduce it.
{noformat}
Apache Maven 3.8.5 (3599d3414f046de2324203b78ddcf9b5e4388aa0)
Maven home: /opt/apache-maven-3.8.5
Java version: 17.0.5, vendor: Private Build, runtime: /usr/lib/jvm/java-17-openjdk-amd64
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.15.0-56-generic", arch: "amd64", family: "unix" {noformat}
Tried to run it on different TZ's too, but it made no difference (`TZ="Pacific/Chatham" mvn clean test, then EET, America/Sao_Paulo, Europe/Madrid, etc). The tests never failed for me.

> "CalendarUtilsTest" fails, or not...
> ------------------------------------
>
>                 Key: LANG-1693
>                 URL: https://issues.apache.org/jira/browse/LANG-1693
>             Project: Commons Lang
>          Issue Type: Test
>          Components: lang.time.*
>    Affects Versions: 3.12.0
>            Reporter: Gilles Sadowski
>            Priority: Minor
>         Attachments: OUT
>
>
> Following up a [post on the ML|https://markmail.org/message/qatstzelumanopaj].
> Running
> {noformat} 
> $ JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64 mvn test
> [... skipped ...]
> [ERROR] Failures:
> [ERROR]   CalendarUtilsTest.testGetDayOfMonth:32 expected: <7> but was: <6>
> [ERROR]   CalendarUtilsTest.testGetDayOfYear:37 expected: <341> but was: <340>
> [INFO]
> [ERROR] Tests run: 7330, Failures: 2, Errors: 0, Skipped: 7
> [...]
> {noformat}
> Full console output attached.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)