Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-3217

testGetCurrent fails if run from 23 UTC to 24 UTC

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.0
    • Fix Version/s: 6.0
    • Component/s: DSpace API
    • Labels:
      None
    • Environment:
      unit testing
    • Attachments:
      0
    • Comments:
      12
    • Documentation Status:
      Not Required

      Description

      The testGetCurrent testGetCurrent method, if run at any point between 23 UTC and 24 UTC, will fail. Is this test necessary? If so, we should try to beef it up. Having an hour of each day where DSpace reliably fails testing is a bit odd.

      UPDATE: after fixing testGetCurrent, two more tests were discovered to have similar problems: InstallItemTest and RestoreItemTest. DSPR#1449 fixes all of these tests.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hardyoyo Hardy Pottinger
                Reporter:
                hardyoyo Hardy Pottinger
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: