[Bug] TM connection integration test uses an unconfigured transaction group

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

Check Ahead

  • Searched TmNettyClientTest issues, including the older closed #3109. This is the current transaction-group fixture failure.
  • Willing to fix.

Issue Description

The integration test starts a local server and configures default_tx_group but initializes the client with group A. init logs a missing service.vgroupMapping.group A error. A later direct acquireChannel(serverAddress) bypasses discovery and makes the test pass, hiding the initialization failure.

Evidence

Java 17 CI job, commit 96e84e52f, raw lines 58883-58884. This is testDoConnect's success path, not a missing-configuration test.

Expected behavior

Use the transaction group configured by the fixture and verify that init establishes the connection before invoking any explicit address-based acquisition.

Environment

Seata 2.8.0-SNAPSHOT, Java 17, test-new-version.