UKGovLD/registry-core

Tests fail when building on Windows

Opened this issue · 0 comments

When building on windows without disabling tests, the build reports a test failure (full log attached
err.log ):

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.858 sec

Results :

Failed tests:   conceptScheme_describesRegister(com.epimorphics.registry.webapi.RdfXmlRorMarshallerTest): expected:<<rdf:RDF[(..)
  producesRdfXml(com.epimorphics.registry.webapi.RdfXmlRorMarshallerTest): expected:<<rdf:RDF[(..)
  catalog_describesRegistry(com.epimorphics.registry.webapi.RdfXmlRorMarshallerTest): expected:<<rdf:RDF[(..)
  testLogAndReplay(com.epimorphics.registry.webapi.TestReplay): expected:<204> but was:<503>

Tests in error:
(..)stRDFRoundTrip(com.epimorphics.registry.csv.TestCSVSupport): C:\cygwin64\tmp\rdfTest7069419359094373794.csv: The process cannot access the file because it is being used by another process.

Tests run: 76, Failures: 4, Errors: 1, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  36.371 s
[INFO] Finished at: 2021-02-23T16:19:45Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project registry-core: There are test failures.