diggsweden / DCAT-AP-SE-Processor

GNU General Public License v3.0
9 stars 8 forks source link

Wobbly test #3

Closed weipe closed 2 years ago

weipe commented 2 years ago

I discussed this test earlier today with Jonas Södergren: PreprocessorControllerRestTest.java:96 testInvalidAPIFile()

It's not working reliably across OSs and environments. For example, it works fine with Podman in GNU/Linux and WSL2, but fails in Docker Desktop on MacOS and the build system of OpenShift.

Perhaps it could be a good idea to disable this test until the reason has been established? For now, the workaround to get a stable build of the artifact in the Docker build, is to do as Jonas suggested and run mvn with -DskipTests.

If anyone can think of a fix for that test, it would be a welcome change. Otherwise we should consider disabling it or adding -DskipTests to the Dockerfile build so we can build reliably until the test has been fixed.

jonassodergren commented 2 years ago

Solved.