After upgrade to Play 2.6.3 this delay was set to 5 seconds because:
Test framework was not able to detect slow test and raise an error
Circuit Breaker didn't terminate the connection
This might indicate that either test is somehow broken or Circuit Breaker doesn't work with a new Playframework or both. We need to find the cause, fix it and set delays back to previous value.
Following code was added in order to check Circuit Breaker behaviour in case when remote server operates slowly:
When we used Play 2.5.* the test "should not return a Token Info when remote server operates slow" had a delay of 15 minutes. So intention was to show that the test completes in less than few seconds and don't wait all 15 minutes.
After upgrade to Play 2.6.3 this delay was set to 5 seconds because:
This might indicate that either test is somehow broken or Circuit Breaker doesn't work with a new Playframework or both. We need to find the cause, fix it and set delays back to previous value.