File 0266-erts-Tolerate-JPperf-true-in-hello_SUITE.patch of Package erlang

From df9ac7fa9f6bfbe046ffc3bd791a3b7fc33f8a52 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?John=20H=C3=B6gberg?= <john@erlang.org>
Date: Wed, 11 Aug 2021 09:56:39 +0200
Subject: [PATCH 3/3] erts: Tolerate +JPperf true in hello_SUITE

---
 erts/emulator/test/hello_SUITE_data/hello.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/erts/emulator/test/hello_SUITE_data/hello.erl b/erts/emulator/test/hello_SUITE_data/hello.erl
index 7e77a71061..3d75391060 100644
--- a/erts/emulator/test/hello_SUITE_data/hello.erl
+++ b/erts/emulator/test/hello_SUITE_data/hello.erl
@@ -1662,7 +1662,7 @@ test_hibernate() ->
 maximum_hibernate_heap_size(Term) ->
     %% When hibernating, a few extra words will be allocated to hold the
     %% continuation pointer as well as scratch space for the interpreter/jit.
-    erts_debug:flat_size(Term) + 4.
+    erts_debug:flat_size(Term) + 8.
 
 hibernate_wake_up(0, _, _) -> ok;
 hibernate_wake_up(N, MaxHeapSz, Child) ->
-- 
2.31.1

openSUSE Build Service is sponsored by