Skip to content

Commit ed52a5e

Browse files
Disable testTimeoutPerConnection on Windows (#45785)
* It appears this test that is specific to how the BSD network stack works does randomly fail on Windows => disabling it since it's not clear that it should work on Windows in a stable way * Fixes #45777
1 parent f862c30 commit ed52a5e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/framework/src/main/java/org/elasticsearch/transport/AbstractSimpleTransportTestCase.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1907,8 +1907,7 @@ public void testRegisterHandlerTwice() {
19071907
}
19081908

19091909
public void testTimeoutPerConnection() throws IOException {
1910-
assumeTrue("Works only on BSD network stacks and apparently windows",
1911-
Constants.MAC_OS_X || Constants.FREE_BSD || Constants.WINDOWS);
1910+
assumeTrue("Works only on BSD network stacks", Constants.MAC_OS_X || Constants.FREE_BSD);
19121911
try (ServerSocket socket = new MockServerSocket()) {
19131912
// note - this test uses backlog=1 which is implementation specific ie. it might not work on some TCP/IP stacks
19141913
// on linux (at least newer ones) the listen(addr, backlog=1) should just ignore new connections if the queue is full which

0 commit comments

Comments
 (0)