jnioche opened a new pull request, #8449: URL: https://github.com/apache/storm/pull/8449
## Summary - Ports all 7 tests from `drpc_test.clj` and all 3 effective tests from `grouping_test.clj` to Java/JUnit 5 - All Clojure `defbolt` macros replaced with Java inner classes (8 bolt implementations) - Duplicate `test-field` in Clojure (2nd overrides 1st) resolved to a single test ### Tests ported **DRPCIntegrationTest** (7 tests): | Test | Coverage | |---|---| | `testDrpcFlow` | Raw DRPCSpout + ReturnResults topology | | `testDrpcBuilder` | LinearDRPCTopologyBuilder | | `testDrpcCoordination` | Coordinated counting with partial-count + aggregator | | `testDrpcCoordinationTricky` | Multi-stage coordination with finishedId | | `testDrpcFailFinish` | FailedException in finishedId | | `testDrpcAttemptsTwoReconnectsInFailRequest` | DRPCSpout retry logic (Mockito) | | `testDrpcStopsRetryingAfterSuccessfulReconnect` | DRPCSpout retry logic (Mockito) | **GroupingIntegrationTest** (3 tests): | Test | Coverage | |---|---| | `testShuffle` | Shuffle grouping distributes evenly | | `testFieldGrouping` | Fields grouping with TestWordBytesCounter | | `testCustomGroupings` | NGrouping custom stream and JavaObject grouping | Part of the Clojure test migration effort (Phase 4 of #8445). ## Test plan - [x] `mvn test -pl storm-server -Dtest="org.apache.storm.drpc.DRPCIntegrationTest,org.apache.storm.grouping.GroupingIntegrationTest"` — all 10 tests pass - [ ] Verify existing tests still pass: `mvn test -pl storm-server` 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
