You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "yyqdbngt (via GitHub)" <gi...@apache.org> on 2026/09/05 21:17:32 UTC

[PR] [ISSUE-3792][test] Deepen RegistryProbeRunnerTest with empty input, per-entry degradation and probe timeout [rocketmq-dashboard]

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

   ### Motivation
   
   The existing `RegistryProbeRunnerTest` proves the happy path of concurrent probes, but the empty-input short-circuit, per-entry failure isolation and the timeout interruption path were untested in the runner itself.
   
   ### Changes
   
   - `emptyEntriesShouldProbeNothing`: an empty registry list completes immediately without invoking the probe function.
   - `failingProbeDegradesOnlyItsOwnEntry`: a probe that throws contributes nothing while the sibling entry's clusters are still returned.
   - `timedOutProbeReturnsEmptyWithoutThrowing`: a probe that blocks past the runner's timeout is cancelled and degrades to an empty result instead of failing the whole batch.
   
   ### Verification
   
   ```
   mvn -B test -Dtest=RegistryProbeRunnerTest
   [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0
   [INFO] BUILD SUCCESS
   ```


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [ISSUE-3792][test] Deepen RegistryProbeRunnerTest with empty input, per-entry degradation and probe timeout [rocketmq-dashboard]

Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins closed pull request #3792: [ISSUE-3792][test] Deepen RegistryProbeRunnerTest with empty input, per-entry degradation and probe timeout
URL: https://github.com/apache/rocketmq-dashboard/pull/3792


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org