Uploaded image for project: 'EJBCA'
  1. EJBCA
  2. ECA-7991

Make ApprovalSessionTest reliable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: EJBCA 7.1.0, EJBCA 6.15.2.2
    • Component/s: None
    • Labels:

      Description

      ApprovalSessionTest uses an approval profile with a 2 second expiration time for all tests.

      The expiration time was increased from 1 second to 2 seconds (ECA-5804), but it turns out that the tests are still unreliable.

      • Increase the timeout from 2 to perhaps 4 seconds.
      • Add a new approval profile in the test, for test cases that do not test expiration. This approval profile should have a long expiration time.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ulf_undmark Ulf Undmark
              Reporter:
              samuel Samuel Lidén Borell
              Verified by:
              Samuel Lidén Borell
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 hour Original Estimate - 1 hour
                  1h
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours, 40 minutes
                  2h 40m