Thanks for your response @fernfernfern
I can see some data in the $CIRCLE_INTERNAL_TASK_DATA/circle-test-results/results.json file. But I don’t see the parallel execution of test cases. I have run the circle ci more than 6 times but still, I see the same module test cases are getting executed in both slots. ( parallelism: 2)
results.json
{
"tests": [
{
"classname": "org.sunbird.job.postpublish.helpers.DialHelperTest",
"file": null,
"name": "fetchExistingReservedDialcodes should return map of dialcodes that is reserved",
"result": "success",
"run_time": 0.008,
"message": null,
"source": "junit",
"source_type": "junit"
},
{
"classname": "org.sunbird.job.postpublish.helpers.DialHelperTest",
"file": null,
"name": "reserveDialCodes should reserve dialcodes and return a map of the same",
"result": "success",
"run_time": 0.003,
"message": null,
"source": "junit",
"source_type": "junit"
},
{
"classname": "org.sunbird.job.postpublish.helpers.DialHelperTest",
"file": null,
"name": "reserveDialCodes with error response should throw an exception",
"result": "success",
"run_time": 0.004,
"message": null,
"source": "junit",
"source_type": "junit"
},
{
"classname": "org.sunbird.spec.CoreTestSpec",
"file": null,
"name": "DataCache hgetAllWithRetry function should be able to retrieve the map data from Redis",
"result": "success",
"run_time": 0.012,
"message": null,
"source": "junit",
"source_type": "junit"
},
{
"classname": "org.sunbird.spec.CoreTestSpec",
"file": null,
"name": "StringSerialization functionality should be able to serialize the input data as String",
"result": "success",
"run_time": 0.001,
"message": null,
"source": "junit",
"source_type": "junit"
}
.....
.....
]}
Still, I’m able to see these errors.
No timing found for "jobs-core/src/test/scala/org/sunbird/spec/BaseMetricsReporter.scala"
No timing found for "jobs-core/src/test/scala/org/sunbird/spec/BaseProcessFunctionTestSpec.scala"
No timing found for "jobs-core/src/test/scala/org/sunbird/spec/BaseProcessTestConfig.scala"
No timing found for "jobs-core/src/test/scala/org/sunbird/spec/BaseSpec.scala"
No timing found for "jobs-core/src/test/scala/org/sunbird/spec/BaseTestSpec.scala"
No timing found for "jobs-core/src/test/scala/org/sunbird/spec/CoreTestSpec.scala"
No timing found for "jobs-core/src/test/scala/org/sunbird/spec/DefinitionCacheTestSpec.scala"
No timing found for "jobs-core/src/test/scala/org/sunbird/spec/ScalaJsonUtilSpec.scala"
No timing found for "jobs-core/src/test/scala/org/sunbird/spec/TestJobRequestStreamFunc.scala"
No timing found for "jobs-core/src/test/scala/org/sunbird/spec/TestMapStreamFunc.scala"
No timing found for "jobs-core/src/test/scala/org/sunbird/spec/TestStringStreamFunc.scala"
usually how many runs will it take to execute the tests parallelly? Since I have already re-run the circleci more than 6 times. Any config did i miss ?
Note: Project structure is module based project.
Same modules are getting executed in both the task slots.