You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2016/05/05 00:53:13 UTC

[jira] [Closed] (NET-586) FTPTimestampParserImpl test failure since 1 Jan 2016

     [ https://issues.apache.org/jira/browse/NET-586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sebb closed NET-586.
--------------------

> FTPTimestampParserImpl test failure since 1 Jan 2016
> ----------------------------------------------------
>
>                 Key: NET-586
>                 URL: https://issues.apache.org/jira/browse/NET-586
>             Project: Commons Net
>          Issue Type: Bug
>          Components: FTP
>    Affects Versions: 3.4
>         Environment: Linux, OpenJDK 8
>            Reporter: Mikolaj Izdebski
>             Fix For: 3.5
>
>
> Test method {{testFeb29IfLeapYear}} from class {{org.apache.commons.net.ftp.parser.FTPTimestampParserImplTest}} started to fail since 1 January 2016.
> Stack trace of the failure:
> {code}
> testFeb29IfLeapYear(org.apache.commons.net.ftp.parser.FTPTimestampParserImplTest)  Time elapsed: 0.005 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: Test: 'Feb 29th' Server=2016-01-04 11:33. Failed to parse Feb 29 00:00. Actual 2015-02-28 12:00. Expected 2016-02-29 12:00
> 	at junit.framework.Assert.fail(Assert.java:57)
> 	at junit.framework.TestCase.fail(TestCase.java:227)
> 	at org.apache.commons.net.ftp.parser.FTPTimestampParserImplTest.checkShortParse(FTPTimestampParserImplTest.java:307)
> 	at org.apache.commons.net.ftp.parser.FTPTimestampParserImplTest.checkShortParse(FTPTimestampParserImplTest.java:279)
> 	at org.apache.commons.net.ftp.parser.FTPTimestampParserImplTest.checkShortParse(FTPTimestampParserImplTest.java:257)
> 	at org.apache.commons.net.ftp.parser.FTPTimestampParserImplTest.testFeb29IfLeapYear(FTPTimestampParserImplTest.java:390)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)