Open wing328 opened 7 years ago
Not addressed by #5037 yet. May have to remove that test, the code is correct but the endpoints do not seem to handle rapid requests well.
I thought it was an issue on my end since it always passed travis for me.
Where is the code for the endpoint server located? Maybe I can figure out what is causing this.
@antihax I'll comment out the test for the time being.
The Pestore server can be found in https://github.com/swagger-api/swagger-samples under java/java-jersey-jaxrs
. Thanks for looking into the issue.
Check https://github.com/swagger-api/swagger-samples/pull/74. Looks like data races in the sample, but i am not familiar with the latest Java.
Description
Sometimes, we may get the following test failure in 2.3.0 branch with the Go API client for Petstore:
Ref: https://api.travis-ci.org/jobs/212060955/log.txt?deansi=true
Seems like the Go API client has issues with concurrent requests.
Swagger-codegen version
2.3.0
Command line used for generation
Steps to reproduce
Submit a PR and the CI (travis) might failed
Related issues
Suggest a Fix
The issue might be addressed by https://github.com/swagger-api/swagger-codegen/pull/5037 but I'm not entirely sure.
cc @antihax