pem70 opened a new issue, #4989:
URL: https://github.com/apache/servicecomb-java-chassis/issues/4989

   ### Steps to Reproduce
   
   The test `should_ignore_endpoint_when_generate_swagger` in `EndpointTest` is 
flaky because it compares the full serialized YAML string output of the 
generated OpenAPI object using strict string equality, while the internal data 
structures cannot guarantee deterministic key ordering.
   
   This test was flagged via the 
[NonDex](https://github.com/TestingResearchIllinois/NonDex) tool, which detects 
potentially unreliable tests due to underlying Java API assumptions. To see the 
Nondex output for this test, run:
   
   ```
   mvn -pl core edu.illinois:nondex-maven-plugin:2.1.7:nondex 
-Dtest=org.apache.servicecomb.core.invocation.endpoint.EndpointTest#should_ignore_endpoint_when_generate_swagger
   ```
   
   ### Expected Behavior
   
   _No response_
   
   ### Servicecomb Version
   
   3.3.0
   
   ### Additional Context
   
   I have a potential fix in a PR, and I'll add that to the discussion.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to