Uploaded image for project: 'Olingo'
  1. Olingo
  2. OLINGO-887

Failure in EdmDateTest.valueToString:56

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • (Java) V4 4.2.0
    • (Java) V4 4.2.0
    • odata4-commons
    • None

    Description

      Since a few days (and I guess this commit) I get following test failure in org.apache.olingo.commons.core.edm.primitivetype.EdmDateTest.valueToString(...):

      Failed tests:
        EdmDateTest.valueToString:56 expected:<2012-0[2-29]> but was:<2012-0[3-01]>
      

      Based on the commit, the test code (see below), my none english (german) environment and the fact that the official build on Apache Jenkins runs without failure, I guess that the test should be changed that it is independent from the environment or the change in the EdmDate should be reviewed.

          final Long millis = 1330558323007L;
          assertEquals("2012-02-29", instance.valueToString(millis, null, null, null, null, null));
      

      Attachments

        Issue Links

          Activity

            People

              chrisam Christian Amend
              mirbo mibo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: