From 4f63e6569e44838bb76eb630ae364e0cd5adf2ef Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Wed, 15 Jul 2026 07:06:28 -0400 Subject: [PATCH] Run oversized bz2 resource tests in isolation to avoid OOM 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. --- ext/bz2/tests/bzdecompress_input_too_large.phpt | 2 ++ ext/bz2/tests/gh20620.phpt | 2 ++ 2 files changed, 4 insertions(+) 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-- +--CONFLICTS-- +all --INI-- memory_limit=-1 --FILE--