Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-4101

AdobeConnectProviderTest seems to be timezone dependent

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 14.0
    • Fix Version/s: 14.0
    • Component/s: None
    • Labels:
      None

      Description

      JUnit Tests fail on a system possibly because of UTC timezone:
      ```
      String dateStr = "2019-04-18T12:28:28.587+02:00";
      ...
      cal.get(Calendar.HOUR_OF_DAY)

      Result:
      AdobeConnectProviderTest.parseDate:44 expected:<12> but was:<10>
      ```

        Attachments

          Activity

            People

            • Assignee:
              srosse Stéphane Rossé
              Reporter:
              d.haag Daniel Haag
              Tester:
              Mandy Menzel
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 5 minutes
                5m