File 0256-socket-Do-not-run-without-dup-testcases.patch of Package erlang

From 1ca42c85f62a23d31fba6d206bfbd3f1cb345b41 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lukas=20Backstr=C3=B6m?= <lukas@erlang.org>
Date: Thu, 10 Apr 2025 15:07:46 +0200
Subject: [PATCH] socket: Do not run without dup testcases

The wod testcases hang the emulator because the system ends up
doing a read on an fd that is set in blocking mode. We disable
those tests while investigating what is going on.
---
 lib/kernel/test/socket_api_SUITE.erl | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/kernel/test/socket_api_SUITE.erl b/lib/kernel/test/socket_api_SUITE.erl
index aa2c4cacba..91afe038af 100644
--- a/lib/kernel/test/socket_api_SUITE.erl
+++ b/lib/kernel/test/socket_api_SUITE.erl
@@ -451,12 +451,12 @@ api_from_fd_cases() ->
      api_ffd_open_wd_and_info_udp6,
      api_ffd_open_wd_and_info_tcp4,
      api_ffd_open_wd_and_info_tcp6,
-     api_ffd_open_and_open_wod_and_send_udp4,
-     api_ffd_open_and_open_wod_and_send_udp6,
+    %  api_ffd_open_and_open_wod_and_send_udp4,
+    %  api_ffd_open_and_open_wod_and_send_udp6,
      api_ffd_open_and_open_wd_and_send_udp4,
      api_ffd_open_and_open_wd_and_send_udp6,
-     api_ffd_open_connect_and_open_wod_and_send_tcp4,
-     api_ffd_open_connect_and_open_wod_and_send_tcp6,
+    %  api_ffd_open_connect_and_open_wod_and_send_tcp4,
+    %  api_ffd_open_connect_and_open_wod_and_send_tcp6,
      api_ffd_open_connect_and_open_wd_and_send_tcp4,
      api_ffd_open_connect_and_open_wd_and_send_tcp6
     ].
-- 
2.43.0

openSUSE Build Service is sponsored by