Uploaded image for project: 'Grouper'
  1. Grouper
  2. GRP-69

Some JUnit tests fail

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.1
    • Fix Version/s: 1.2.1
    • Component/s: API
    • Labels:
      None

      Description

      A number of tests, related to privileges, fail due to changes in the way some data is retrieved and cached.

      One test can be changed to expect the current behavior. Other tests fail because privilege information is now cached for up to 2 minutes. One solution is to choose much shorter time to live and time to idle cache settings when running tests, and to add short pauses - 2 seconds - so that cached privileges expire.

        Smart Checklist

          Attachments

            Activity

              People

              Assignee:
              isgwb Gary Brown (Inactive)
              Reporter:
              isgwb Gary Brown (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: