Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not possible to build master branch as 3 tests are failing #810

Open
ghost opened this issue Mar 10, 2020 · 1 comment
Open

not possible to build master branch as 3 tests are failing #810

ghost opened this issue Mar 10, 2020 · 1 comment

Comments

@ghost
Copy link

ghost commented Mar 10, 2020

mvn clean install
.....
Failed tests: handleResponseWithInheritance(com.github.kongchen.swagger.docgen.reader.JaxrsReaderTest): expected [false] but found [true]
testGeneratedSwaggerSpecJson on testGeneratedSwaggerSpecJson(com.github.kongchen.smp.integration.SwaggerReaderTest)(com.github.kongchen.smp.integration.SwaggerReaderTest): unknown type: [simple type, class java.lang.String]
testGeneratedSwaggerSpecYaml on testGeneratedSwaggerSpecYaml(com.github.kongchen.smp.integration.SwaggerReaderTest)(com.github.kongchen.smp.integration.SwaggerReaderTest): unknown type: [simple type, class java.lang.String]

Tests run: 65, Failures: 3, Errors: 0, Skipped: 0
interesting is that first test(handleResponseWithInheritance) fails on JaxrsReaderTest.java:205 or JaxrsReaderTest.java:216 or it doesn't fail at all, it looks like it is stochastic...

@michaelriedel
Copy link

All three tests are somewhat flaky: the first one fails and succeeds randomly, the other two either fail with unknown type: [simple type, class java.lang.String] (as in your output) or with unknown type: [simple type, class java.lang.Long] (see my output below):

Failed tests: handleResponseWithInheritance(com.github.kongchen.swagger.docgen.reader.JaxrsReaderTest): expected [false] but found [true] testGeneratedSwaggerSpecJson on testGeneratedSwaggerSpecJson(com.github.kongchen.smp.integration.SwaggerReaderTest)(com.github.kongchen.smp.integration.SwaggerReaderTest): unknown type: [simple type, class java.lang.Long] testGeneratedSwaggerSpecYaml on testGeneratedSwaggerSpecYaml(com.github.kongchen.smp.integration.SwaggerReaderTest)(com.github.kongchen.smp.integration.SwaggerReaderTest): unknown type: [simple type, class java.lang.Long]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant