[BUG] Tests are failing on the master branch after a recursive clone
Created by: SeanFarrow
@wing328 Bug installing the generator after a recursive clone
Description
after cloning the repository with a recursive clone using the command: git clone --recursive https://github.com/OpenApiTools/OpenApi-Generator.git
and then attempting to install the master branch using
mvn install
5 tests fail as follows:
org.openapitools.codegen.java.jaxrs.JavaJAXRSCXFExtServerCodegenTest#generateJsonAnnotationForPolymorphism Exception java.lang.AssertionError: expected [true] but found [false] at org.openapitools.codegen.java.jaxrs.JavaJaxrsBaseTest.checkFileContains(JavaJaxrsBaseTest.java:59) at org.openapitools.codegen.java.jaxrs.JavaJaxrsBaseTest.generateJsonAnnotationForPolymorphism(JavaJaxrsBaseTest.java:52)
org.openapitools.codegen.java.jaxrs.JavaJAXRSSpecServerCodegenTest#generateJsonAnnotationForPolymorphism Exception java.lang.AssertionError: expected [true] but found [false] at org.openapitools.codegen.java.jaxrs.JavaJaxrsBaseTest.checkFileContains(JavaJaxrsBaseTest.java:59) at org.openapitools.codegen.java.jaxrs.JavaJaxrsBaseTest.generateJsonAnnotationForPolymorphism(JavaJaxrsBaseTest.java:52)
org.openapitools.codegen.java.jaxrs.JavaJaxrsResteasyServerCodegenModelTest#generateJsonAnnotationForPolymorphism Exception java.lang.AssertionError: expected [true] but found [false] at org.openapitools.codegen.java.jaxrs.JavaJaxrsBaseTest.checkFileContains(JavaJaxrsBaseTest.java:59) at org.openapitools.codegen.java.jaxrs.JavaJaxrsBaseTest.generateJsonAnnotationForPolymorphism(JavaJaxrsBaseTest.java:52)
org.openapitools.codegen.java.jaxrs.JavaJerseyServerCodegenTest#generateJsonAnnotationForPolymorphism Exception java.lang.AssertionError: expected [true] but found [false] at org.openapitools.codegen.java.jaxrs.JavaJaxrsBaseTest.checkFileContains(JavaJaxrsBaseTest.java:59) at org.openapitools.codegen.java.jaxrs.JavaJaxrsBaseTest.generateJsonAnnotationForPolymorphism(JavaJaxrsBaseTest.java:52)
org.openapitools.codegen.java.jaxrs.JavaResteasyEapServerCodegenModelTest#generateJsonAnnotationForPolymorphism Exception java.lang.AssertionError: expected [true] but found [false] at org.openapitools.codegen.java.jaxrs.JavaJaxrsBaseTest.checkFileContains(JavaJaxrsBaseTest.java:59) at org.openapitools.codegen.java.jaxrs.JavaJaxrsBaseTest.generateJsonAnnotationForPolymorphism(JavaJaxrsBaseTest.java:52)
I'm trying to install the generator so that I can contribute to various C# issues.
Either I am missing something when cloning/installing the project, or there appears to be an error in one or more of the tests shown above. I'm cloning on windows and have tried with/without admin privelliges.