From 6249172ae37f958f0a3ef92cb55d5bf7affa8214 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Wed, 4 Aug 2021 09:41:39 +0200 Subject: [PATCH] Optimize openssl memory leak test Just do one call and check whether memory usage changes. Looping this 100000 times is extremely slow with debug builds of openssl. --- ext/openssl/tests/bug79145.phpt | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/ext/openssl/tests/bug79145.phpt b/ext/openssl/tests/bug79145.phpt index 055c5fe89f3..28ab18a279a 100644 --- a/ext/openssl/tests/bug79145.phpt +++ b/ext/openssl/tests/bug79145.phpt @@ -2,10 +2,6 @@ Bug #79145 (openssl memory leak) --EXTENSIONS-- openssl ---SKIPIF-- - --FILE-- --EXPECT-- bool(true)