Uploaded image for project: 'Spring Data Commons'
  1. Spring Data Commons
  2. DATACMNS-1091

Sporadic test failures in tests for JSR-310 conversions

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0 RC1 (Kay)
    • Component/s: None
    • Labels:
      None

      Description

      If tests run exactly at a full second we get test failures, because some default conversions strip trailing zeros.

      Example output from travis

      Failed tests: 
        Jsr310ConvertersUnitTests.convertsLocalTimeToDate:110 
      Expected: is "08:33:38"
           but: was "08:33:38.000"
      

        Attachments

          Activity

            People

            Assignee:
            schauder Jens Schauder
            Reporter:
            schauder Jens Schauder
            Last updater:
            Oliver Drotbohm
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: