Commit a6bea1b
committed
testMockFailToSendNoConnectRule should wait for connection close to bubble up and disconnect the node
elastic#25521 changed channel closing to be handled async on anything but transport stop. This means it may take a while before
calling `connection.close()` and the node being removed from the `connectedNodes` list (but the connection is immediately unusuable).
Fixes elastic#256861 parent 0724024 commit a6bea1b
File tree
1 file changed
+5
-3
lines changed- test/framework/src/main/java/org/elasticsearch/transport
1 file changed
+5
-3
lines changedLines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
| |||
80 | 79 | | |
81 | 80 | | |
82 | 81 | | |
83 | | - | |
84 | 82 | | |
85 | 83 | | |
86 | 84 | | |
| |||
1418 | 1416 | | |
1419 | 1417 | | |
1420 | 1418 | | |
1421 | | - | |
| 1419 | + | |
1422 | 1420 | | |
1423 | 1421 | | |
1424 | 1422 | | |
| |||
1461 | 1459 | | |
1462 | 1460 | | |
1463 | 1461 | | |
| 1462 | + | |
| 1463 | + | |
| 1464 | + | |
| 1465 | + | |
1464 | 1466 | | |
1465 | 1467 | | |
1466 | 1468 | | |
| |||
0 commit comments