We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c75504 commit 23035deCopy full SHA for 23035de
test/framework/src/main/java/org/elasticsearch/transport/AbstractSimpleTransportTestCase.java
@@ -2653,7 +2653,7 @@ public void testChannelCloseWhileConnecting() {
2653
public void onConnectionOpened(final Transport.Connection connection) {
2654
closeConnectionChannel(connection);
2655
try {
2656
- assertBusy(connection::isClosed);
+ assertBusy(() -> assertTrue(connection.isClosed()));
2657
} catch (Exception e) {
2658
throw new AssertionError(e);
2659
}
0 commit comments