From 9a573d02dabe9676d4a00dee39d42735b6ae2ef5 Mon Sep 17 00:00:00 2001 From: Gina Peter Banyard Date: Sun, 18 Oct 2026 13:21:33 +0100 Subject: [PATCH] ci: fix MSAN/PowerPC nightly CI --- .../stream_errors_operation_depth_limit.phpt | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/ext/standard/tests/streams/stream_errors_operation_depth_limit.phpt b/ext/standard/tests/streams/stream_errors_operation_depth_limit.phpt index 1eae9c5fd31d..71abf5a03885 100644 --- a/ext/standard/tests/streams/stream_errors_operation_depth_limit.phpt +++ b/ext/standard/tests/streams/stream_errors_operation_depth_limit.phpt @@ -2,8 +2,30 @@ Stream errors: operations refused by the depth limit keep the stack consistent --INI-- zend.max_allowed_stack_size=-1 +--SKIPIF-- + --FILE-- = 32 * 1024 * 1024)) { + posix_setrlimit(POSIX_RLIMIT_STACK, 32 * 1024 * 1024, $hard === 'unlimited' ? -1 : $hard); + } +} + class RecursiveStream { public $context;