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

Make ApprovalSessionTest less timing sensetive

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: EJBCA 7.0.0, EJBCA 6.15.2
    • Component/s: None
    • Labels:

      Description

      ApprovalSessionTest could fail if an operation takes too long (which would lead to sporadic reports of false negatives from the test server).

      This is not great and needs to fixed.


      More info from duplicate issue:

      The test cases in ApprovalSessionTest are failing intermittently, both on new and old Jenkins.

      It seems that the test failures are caused by approval requets expiring while the test is running. The test creates an approval profile before each test and sets the expiration time to 1 second.

      This time might have to be increased, at least it should be increased for tests that do not test expiration.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              samuel Samuel Lidén Borell
              Reporter:
              johan Johan Eklund
              Verified by:
              Jekaterina Bunina
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 day Original Estimate - 1 day
                  1d
                  Remaining:
                  Time Spent - 1 hour, 11 minutes Remaining Estimate - 7 hours
                  7h
                  Logged:
                  Time Spent - 1 hour, 11 minutes Remaining Estimate - 7 hours
                  1h 11m