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.