The GitHub Actions job "Build and Run Tests by Maven" on 
rocketmq.git/add-message-utils-tests has failed.
Run started by GitHub user gong-dx (triggered by RongtongJin).

Head commit for run:
0455f0c2220d7663006c4335ef3312b857ba03c3 / gong-dx <[email protected]>
add test: unit tests for MessageUtils utility class

- Add comprehensive tests for getShardingKeyIndex() with various key types
- Add tests for getShardingKeyIndexByMsg() including null sharding key
- Add tests for getShardingKeyIndexes() with empty and multiple messages
- Add tests for deleteProperty() covering edge cases:
  * Delete first/last/middle keys
  * Null input handling
  * Non-existent key handling
  * Substring key matching (mykey vs key)
  * Value containing key name

Addresses the gap in test coverage for MessageUtils, aligning with
Apache RocketMQ's contribution guidelines requiring 80%+ test coverage.

Report URL: https://github.com/apache/rocketmq/actions/runs/28368253413

With regards,
GitHub Actions via GitBox

Reply via email to