Mikolaj Izdebski created NET-586: ------------------------------------ Summary: 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
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)