File 1202-driver_SUITE-increase-time-out.patch of Package erlang

From 0639294bfc4aabf9bcd32d41b9e2e42aa939a35f Mon Sep 17 00:00:00 2001
From: Kjell Winblad <kjellwinblad@gmail.com>
Date: Wed, 28 Apr 2021 11:57:18 +0200
Subject: [PATCH 2/2] driver_SUITE: increase time out

This commit increases the timeout from 1 minute to 10 minutes for the
test case thr_msg_blast in driver_SUITE. This is necessary to avoid a
timeout when running on a PowerPC machine with 64 hardware threads.
---
 erts/emulator/test/driver_SUITE.erl | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/erts/emulator/test/driver_SUITE.erl b/erts/emulator/test/driver_SUITE.erl
index 8d28601396..083f98dc30 100644
--- a/erts/emulator/test/driver_SUITE.erl
+++ b/erts/emulator/test/driver_SUITE.erl
@@ -80,6 +80,7 @@
          otp_9302/1,
          thr_free_drv/1,
          async_blast/1,
+         thr_msg_blast/0,
          thr_msg_blast/1,
          consume_timeslice/1,
          z_test/1]).
@@ -1961,6 +1962,9 @@ thr_msg_blast_receiver_proc(Port, Max, Parent, Done) ->
             Parent ! Done
     end.
 
+thr_msg_blast() ->
+    [{timetrap, {minutes, 10}}].
+
 thr_msg_blast(Config) when is_list(Config) ->
     case erlang:system_info(smp_support) of
         false ->
-- 
2.26.2

openSUSE Build Service is sponsored by