pem70 opened a new pull request, #4990:
URL: https://github.com/apache/servicecomb-java-chassis/pull/4990

   ### Issue
   Test `EndpointTest#should_ignore_endpoint_when_generate_swagger` is flaky. 
See #4989
   
   ### Fix
   While the original test compares the full serialized YAML string, this fix 
removes the fragile YAML string comparison and checks key fields in the 
generated OpenAPI object instead. It keeps the same intent as it verifies the 
expected endpoint and response, while avoiding failures caused by 
nondeterministic field order or formatting.
   
   ### Checklist
    - [ ] Each commit in the pull request should have a meaningful subject line 
and body.
    - [ ] Format the pull request title like `[SCB-XXX] Fixes bug in 
ApproximateQuantiles`, where you replace `SCB-XXX` with the appropriate JIRA 
issue.
    - [ ] Write a pull request description that is detailed enough to 
understand what the pull request does, how, and why.
    - [ ] Run `mvn clean install -Pit` to make sure basic checks pass. A more 
thorough check will be performed on your pull request automatically.
    - [ ] If this contribution is large, please file an Apache [Individual 
Contributor License Agreement](https://www.apache.org/licenses/icla.pdf).
   
   ---
   


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