zjncs opened a new pull request, #5817: URL: https://github.com/apache/rocketmq-dashboard/pull/5817
### What `PrometheusException` — the typed failure of a Prometheus-compatible backend query — had no test. This adds `PrometheusExceptionTest` with 3 tests. ### What is pinned - the status code and message travel; - the cause overload chains the cause; - **a query problem (400) is distinguishable from a backend problem (502)**. ### Verification - New tests on unmodified code: **3/3 green**, checkstyle clean. - Discriminating mutation: the status code hardcoded to 500 (red). - Restored: 3/3 green. Test-only change; no product code touched. -- 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]
