From fc885cc62df6287a088ad9431763fe7c3ba7776c Mon Sep 17 00:00:00 2001 From: Jiri Slaby Date: Wed, 8 Apr 2026 13:48:13 +0200 Subject: [PATCH] test: WebSocketIntegrationTest.SocketSettings: do not set AF_INET (#2420) The server listens on AF_INET6 only (::1), so the test fails: [ RUN ] WebSocketIntegrationTest.SocketSettings test/test.cc:17160: Failure Value of: client.connect() Actual: false Expected: true Fixes #2419. Co-authored-by: Jiri Slaby --- test/test.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/test/test.cc b/test/test.cc index 299b0ee..f2e8b7c 100644 --- a/test/test.cc +++ b/test/test.cc @@ -17450,7 +17450,6 @@ TEST_F(WebSocketIntegrationTest, SocketSettings) { ws::WebSocketClient client("ws://localhost:" + std::to_string(port_) + "/ws-echo"); client.set_tcp_nodelay(true); - client.set_address_family(AF_INET); client.set_connection_timeout(3, 0); bool socket_options_called = false;