Hi All,
I am facing issue during migration from 1.0 to 2.0. Tests were never used to fail in 1.0 but in 2.0 it is failing with unusual behavior.
Below is the test run step where gradlew scripts are used to run the testcases,
- run:
name: Launch test suite
command: ./gradlew testPlayBinary && ./run build_success
Test cases are written in Scala. In every build exactly 2 testcases are getting failed with below exception in Circle 2.0.
Building 82% > :testPlayBinary > 37 tests completed, 8 skippedscalatest.WithMockedServerSuite > com.amadeus.asr.utils.refdata.updater.RefDataUpdaterSpec.Database reference data updater should load program if existing FAILED
java.util.concurrent.TimeoutException at RefDataUpdaterSpec.scala:52
When the testcases are run locally or with 1.0 they dont fail.
I tried to run by commenting out the test case after using a new cache for the dependencies, then a new set of test case starts failing with the same TimeoutException exception.
When I checked the Scala failing test cases, the common behavior I observe is all the test cases are using “Await.result(some function, 15 seconds)”.
Tried using no_output_timeout: 40m as well, But the problem did not resolve.
It would be great if I get some leads on this.