File ci cd pipelines do not use file-test-core-bdd with vital test cases.
There is a BDD tests defined in the File testing module:
https://community.opengroup.org/osdu/platform/system/file/-/tree/master/testing/file-test-core-bdd
They get test case updates with new feature introductions, for example:
!138 (diffs)
But they are not used in cicd pipelines, which left those features not cowered.
And it looks like because of ignoring them for a long time, tests have some compatibility issues which leads to runtime errors like
java.lang.NoClassDefFoundError: Could not initialize class io.restassured.RestAssured
at org.opengroup.osdu.file.util.test.RestAssuredClient.<init>(RestAssuredClient.java:30)
at org.opengroup.osdu.file.util.test.HttpClientFactory.getInstance(HttpClientFactory.java:8)
at org.opengroup.osdu.file.stepdefs.FileStepDef_GET.lambda$new$1(FileStepDef_GET.java:76)
Keeping them ignored may cause issues with feature introduction and verification.
There are several possible solutions:
- Fix and enable file-test-core-bdd tests in the integration step
- Copy missing tests from to file-test-CSP_PROVIDER_MODULE