yyqdbngt opened a new pull request, #3625:
URL: https://github.com/apache/rocketmq-dashboard/pull/3625

   ### Summary
   
   Adds the first dedicated unit test suite for `LlmGatewayException`, the 
typed gateway failure surfaced by the LLM config flows.
   
   The short constructors default to a 502 status with the `llm.gateway_error` 
code while the full constructors carry a custom status/code/hint. The tests pin 
all four constructor shapes.
   
   ### Changes
   
   - 
`server/src/test/java/org/apache/rocketmq/studio/ops/ai/LlmGatewayExceptionTest.java`
     - `messageOnlyConstructorDefaultsToBadGateway` / 
`messageAndCauseConstructorPreservesCause`: default form.
     - `fullConstructorCarriesStatusCodeCodeAndHint` / 
`fullConstructorWithCausePreservesBothHintAndCause`: explicit form.
   
   ### Testing
   
   - `mvn -B test -Dtest=LlmGatewayExceptionTest` passes (4 tests, all green).


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