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 2feda8a commit cd83ddcCopy full SHA for cd83ddc
test/framework/src/main/java/org/elasticsearch/transport/AbstractSimpleTransportTestCase.java
@@ -2650,7 +2650,7 @@ public void testChannelCloseWhileConnecting() {
2650
public void onConnectionOpened(final Transport.Connection connection) {
2651
closeConnectionChannel(connection);
2652
try {
2653
- assertBusy(connection::isClosed);
+ assertBusy(() -> assertTrue(connection.isClosed()));
2654
} catch (Exception e) {
2655
throw new AssertionError(e);
2656
}
0 commit comments