You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by "omkrpt (via GitHub)" <gi...@apache.org> on 2024/02/06 10:53:04 UTC

Re: [PR] [SCB-2718] Fix flaky test failure in TestOperationGenerator#apiOperationThenResponse [servicecomb-java-chassis]

omkrpt commented on PR #3450:
URL: https://github.com/apache/servicecomb-java-chassis/pull/3450#issuecomment-1929262284

   This PR also fixes the flaky test `org.apache.servicecomb.swagger.generator.core.TestOperationGenerator.responseThenApiOperation`
   
   To test this fix:
   In `swagger/swagger-generator/generator-core/pom.xml` set parent artifact swagger-generator version from `2.9.0-SNAPSHOT` to `2.8.1`
   
   Checkout the last commit before fix (`5f02b0a33b51dcc93fe96c833311cc0fc8d444e7`) and run the test with:
   mvn edu.illinois:nondex-maven-plugin:2.1.1:nondex -pl swagger/swagger-generator/generator-core -Dtest=TestOperationGenerator#responseThenApiOperation
   
   You will get failures.
   
   Then checkout the commit with the fix (`b780639a167ca09daaae28535c91c3b022f5d27c`) and run the same. The test should no longer fail.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org