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

   ## Summary
   
   Adds `MessageQueryResultTest`, a first unit test for the message-query 
outcome record carrying the provider truncation signal.
   
   Coverage:
   - the `complete`/`truncated` factories set `mayBeTruncated` to false/true 
respectively;
   - the message rows are defensively copied at construction and exposed as an 
unmodifiable snapshot (later source mutation does not leak in);
   - a null row list is normalized to an empty list.
   
   ## Why
   
   The flag lets callers distinguish an exhausted query from one that hit the 
provider result budget; the record contract had no direct test.
   
   ## Testing
   
   `mvn -B test -Dtest=MessageQueryResultTest` — 3/3 pass; checkstyle 
(validate) clean.


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