[Bug] Server message dispatch success tests pass without registered processors

Author: slievrlyCreated Sep 26, 2026Updated Sep 26, 2026

Check Ahead

  • Searched existing issues for NettyRemotingServerBehaviorTest.
  • Willing to fix.

Issue Description

Four normal server message dispatch tests never register a RemotingProcessor and never assert dispatch. They pass even though every request reaches the missing-processor error path.

Evidence

Java 17 CI job, source commit 96e84e52f, raw log line 4334 and following entries at 09:55:45-46: This message type [59] has no processor and type [1]. These come from merged-message (new/old client versions), individual-message and ServerHandler success fixtures.

The separate NettyRemotingBehaviorTest.testProcessMessageWithNoProcessor deliberately emits type [3] and is excluded.

Expected behavior

Register a test processor and assert the actual dispatched requests, including split IDs/body identity and codec/compressor preservation for new clients. Leave intentional invalid-message and handler exception scenarios intact.

Environment

Seata 2.8.0-SNAPSHOT, Java 17.