Commit 90245a10e25 for php.net
commit 90245a10e25ba1d7749c2a4baf18be3bf9415286
Author: Ilia Alshanetsky <ilia@ilia.ws>
Date: Wed Jul 15 14:37:30 2026 -0400
Run oversized bz2 resource tests in isolation to avoid OOM (#22744)
gh20620 and bzdecompress_input_too_large each allocate ~4GB under
RUN_RESOURCE_HEAVY_TESTS; two in parallel exhaust a memory-constrained
runner and the OOM killer aborts the whole run. Mark both
--CONFLICTS-- all so run-tests executes them in isolation, matching
ext/tidy/tests/parsing_file_too_large.phpt.
diff --git a/ext/bz2/tests/bzdecompress_input_too_large.phpt b/ext/bz2/tests/bzdecompress_input_too_large.phpt
index 88c93d366c5..9774c6dbbfd 100644
--- a/ext/bz2/tests/bzdecompress_input_too_large.phpt
+++ b/ext/bz2/tests/bzdecompress_input_too_large.phpt
@@ -10,6 +10,8 @@
if (getenv('SKIP_SLOW_TESTS')) die('skip slow test');
if (PHP_INT_SIZE != 8) die('skip 64-bit only');
?>
+--CONFLICTS--
+all
--FILE--
<?php
diff --git a/ext/bz2/tests/gh20620.phpt b/ext/bz2/tests/gh20620.phpt
index a7ab0a3c843..bea0133549f 100644
--- a/ext/bz2/tests/gh20620.phpt
+++ b/ext/bz2/tests/gh20620.phpt
@@ -8,6 +8,8 @@
if (PHP_INT_SIZE != 8) die('skip this test is for 64bit platforms only');
if (getenv('SKIP_SLOW_TESTS')) die('skip slow tests excluded by request');
?>
+--CONFLICTS--
+all
--INI--
memory_limit=-1
--FILE--