Uploaded image for project: 'Commons Net'
  1. Commons Net
  2. NET-586

FTPTimestampParserImpl test failure since 1 Jan 2016

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.4
    • 3.5
    • FTP
    • None
    • Linux, OpenJDK 8

    Description

      Test method testFeb29IfLeapYear from class org.apache.commons.net.ftp.parser.FTPTimestampParserImplTest started to fail since 1 January 2016.

      Stack trace of the failure:

      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)
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            mizdebsk Mikolaj Izdebski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: