Closed shijinrajbosch closed 9 months ago
HI @shijinrajbosch,
running mvn clean install
on your branch still runs into test errors on my side. Unfortunately it doesn't provide a better output than the following, but at least the test names are visible:
[ERROR] Errors:
[ERROR] ApplicationTest.contextLoads » ExceptionInInitializer
[ERROR] SwaggerUITest.testGetRootExpectRedirectedToSwaggerUI » NoClassDefFound Could n...
[ERROR] SwaggerUITest.testGetSwaggerUiExpect200 » NoClassDefFound Could not initialize...
[ERROR] HealthCheckTest.testHealthEndpoint » NoClassDefFound Could not initialize clas...
[ERROR] HealthCheckTest.testInfoEndpoint » NoClassDefFound Could not initialize class ...
[ERROR] HealthCheckTest.testLivenessEndpoint » NoClassDefFound Could not initialize cl...
[ERROR] HealthCheckTest.testReadinessEndpoint » NoClassDefFound Could not initialize c...
[ERROR] ModelsApiFilterTest » NoClassDefFound Could not initialize class org.eclipse.t...
[ERROR] ModelsApiPaginationTest » NoClassDefFound Could not initialize class org.eclip...
[ERROR] ModelsApiSecurityTest » NoClassDefFound Could not initialize class org.eclipse...
[ERROR] ModelsApiTest » NoClassDefFound Could not initialize class org.eclipse.tractus...
Thanks for clarifying @shijinrajbosch.
Summary: Pre-condition for building and running the tests is to have a locally available jena-fuseki-docker:4.7.0
docker image. I missed that, because i thought, it's only needed for running the app
From the README:
This docker image jena-fuseki-docker:4.7.0 will be used in the Helm deployment and test - values.yaml (graphdb.image).
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
Description
Fixed the jena-fuseki-docker version to 4.7.0 for the test case to fix https://github.com/eclipse-tractusx/sldt-semantic-hub/issues/196