unbridled-41 commented on PR #10991:
URL: https://github.com/apache/rocketmq/pull/10991#issuecomment-5547355802
Evidence chain re-verified on 2026-09-05 (JDK 21, Maven 3.8.7), anchored to
commits:
- **After fix** — branch tip 906bab3c2:
`mvn -pl broker test -Dtest=ConsumerOffsetManagerTest` → `Tests run: 7,
Failures: 0, Errors: 0, Skipped: 0`.
- **Before fix** — base commit e348efa66 with the same regression test files
(tests run individually because the project's surefire config sets
`skipAfterFailureCount=1`, which aborts a class run after the first error):
- `mvn -pl broker test
-Dtest=ConsumerOffsetManagerTest#testQueryMinOffsetInAllGroupDoesNotDeleteOffsets`
→
`Tests run: 1, Failures: 1` — `java.lang.AssertionError: Expecting
actual: {"Topic@G1"={0=50L}} to contain key: "Topic@G2"`
(ConsumerOffsetManagerTest.java:151), i.e. the read-only query removed the
filtered group's entry from the live offset table.
- `mvn -pl broker test
-Dtest=ConsumerOffsetManagerTest#testQueryMinOffsetInAllGroupToleratesMalformedKeys`
→
`Tests run: 1, Errors: 1` — `java.lang.ArrayIndexOutOfBoundsException:
Index 1 out of bounds for length 1` (ConsumerOffsetManagerTest.java:173).
- **CI**: all 10 checks green on this PR (maven-compile linux/macos/windows,
bazel, CodeQL, coverage, license, misspell).
--
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]