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 22:07:42 UTC
[PR] [ISSUE-3819][test] Deepen AliyunConvertersMessageKeysTest with body decoding and key absence [rocketmq-dashboard]
yyqdbngt opened a new pull request, #3819:
URL: https://github.com/apache/rocketmq-dashboard/pull/3819
### Motivation
The existing `AliyunConvertersMessageKeysTest` covers key joining only. The message-body decoding (base64 UTF-8 vs plain text) and the missing-key output were untested.
### Changes
- `toMessageRecordShouldDecodeBase64Utf8Body`: a base64 payload decodes to UTF-8 text and is tagged `bodyEncoding=UTF-8`.
- `toMessageRecordShouldKeepPlainTextBodyAsText`: a non-base64 body stays verbatim and is tagged `bodyEncoding=TEXT`.
- `toMessageRecordShouldReturnNullKeyWhenMessageKeysMissing`: a null or empty message-key list yields a null key.
### Verification
```
mvn -B test -Dtest=AliyunConvertersMessageKeysTest
[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-3819][test] Deepen AliyunConvertersMessageKeysTest with body decoding and key absence [rocketmq-dashboard]
Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins closed pull request #3819: [ISSUE-3819][test] Deepen AliyunConvertersMessageKeysTest with body decoding and key absence
URL: https://github.com/apache/rocketmq-dashboard/pull/3819
--
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