Skip to content

Partially resolve "Tests time out on CI"

Chris Lemaire requested to merge 205-test-timeout-for-permissions into development

Partially closes #205 (closed)

Problem

The problem this MR focuses on was that we found that logger.error calls hang for 2 minutes before timing out. The reason for this behaviour is that an errbit service to which this logger.error call should write did not respond because it was down.

Solution

Add spring profile specific appender listings and wrap AIRBRAKE in an asynchronous appender to resolve locking on the appender.

NOTE: if errbit is offline, the logs may not show an error, I didn't wait the full 2 minutes to see. So logging the error through AIRBRAKE might fail silently.

Edited by Chris Lemaire

Merge request reports