Skip to content

Commit a2903c2

Browse files
committed
minority
1 parent ecf377a commit a2903c2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

modules/core/src/test/java/org/apache/ignite/spi/communication/tcp/CommunicationConnectionPoolMetricsTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,9 @@ public static Collection<Object[]> params() {
144144
public void testRemovedConnectionMetrics() throws Exception {
145145
maxConnIdleTimeout = 500;
146146

147-
// Prevents keeping connections idle by unacknowledged messages.
148-
ackSendThreshold = 1;
147+
// Prevents keeping connections idle by lazy sending of the unacknowledged messages.
148+
if (pairedConns)
149+
ackSendThreshold = 1;
149150

150151
Ignite srvr = startGridsMultiThreaded(2);
151152
Ignite cli = startClientGrid(G.allGrids().size());

0 commit comments

Comments
 (0)