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 17:26:25 UTC
[PR] test: cover required fields and positive timestamp in ResetConsumerOffsetDTO [rocketmq-dashboard]
yyqdbngt opened a new pull request, #3503:
URL: https://github.com/apache/rocketmq-dashboard/pull/3503
### Summary
`ResetConsumerOffsetDTO` requires instance/name/topic plus a positive epoch timestamp. It had no tests.
### Changes
- An empty request reports all four required-field messages
- A non-positive timestamp is rejected with its dedicated message
- A complete request passes validation
### Testing
`mvn test -Dtest=ResetConsumerOffsetDTOTest` passes: 3 tests, 0 failures (first coverage for this DTO).
--
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] test: cover required fields and positive timestamp in ResetConsumerOffsetDTO [rocketmq-dashboard]
Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins closed pull request #3503: test: cover required fields and positive timestamp in ResetConsumerOffsetDTO
URL: https://github.com/apache/rocketmq-dashboard/pull/3503
--
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