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:
-
Issue discovered during:Another issue
-
Epic Link:
-
Sprint:EJBCA Team Bob - 2018 w51
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.