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 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.