[php-src] master: Run oversized bz2 resource tests in isolation to avoid OOM (#22744)

From: Date: Wed, 15 Jul 2026 18:37:33 +0000
Subject: [php-src] master: Run oversized bz2 resource tests in isolation to avoid OOM (#22744)
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-140035@lists.php.net to get a copy of this message
Author: Ilia Alshanetsky (iliaal) Committer: GitHub (web-flow) Pusher: iliaal Date: 2026-07-15T14:37:30-04:00 Commit: https://github.com/php/php-src/commit/90245a10e25ba1d7749c2a4baf18be3bf9415286 Raw diff: https://github.com/php/php-src/commit/90245a10e25ba1d7749c2a4baf18be3bf9415286.diff 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. Changed paths: M ext/bz2/tests/bzdecompress_input_too_large.phpt M ext/bz2/tests/gh20620.phpt Diff: diff --git a/ext/bz2/tests/bzdecompress_input_too_large.phpt b/ext/bz2/tests/bzdecompress_input_too_large.phpt index 88c93d366c54..9774c6dbbfd6 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('RUN_RESOURCE_HEAVY_TESTS')) die('skip resource-heavy test'); 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 a7ab0a3c843f..bea0133549ff 100644 --- a/ext/bz2/tests/gh20620.phpt +++ b/ext/bz2/tests/gh20620.phpt @@ -8,6 +8,8 @@ if (!getenv('RUN_RESOURCE_HEAVY_TESTS')) die('skip resource-heavy test'); 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--

« previous php.cvs (#140035) next »