GH-3509: Fix if test in previous commit
Caused interceptor to be skipped. **cherry-pick to 5.4.x** * Fix race in new tests * Remove overloaded conn id in test interceptor.
This commit is contained in:
@@ -57,7 +57,7 @@ public class TcpNetClientConnectionFactory extends
|
||||
this.tcpNetConnectionSupport.createNewConnection(socket, false, isLookupHost(),
|
||||
getApplicationEventPublisher(), getComponentName());
|
||||
TcpConnectionSupport wrapped = wrapConnection(connection);
|
||||
if (wrapped.equals(connection)) {
|
||||
if (!wrapped.equals(connection)) {
|
||||
connection.setSenders(getSenders());
|
||||
connection = wrapped;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user