Skip to content

Reduce gh22570 test nesting depth to fix macOS ZTS timeout#22626

Closed
iliaal wants to merge 1 commit into
php:PHP-8.4from
iliaal:fix/gh-22570-test-timeout
Closed

Reduce gh22570 test nesting depth to fix macOS ZTS timeout#22626
iliaal wants to merge 1 commit into
php:PHP-8.4from
iliaal:fix/gh-22570-test-timeout

Conversation

@iliaal

@iliaal iliaal commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Follow-up to #22576. The gh22570 test builds a 100000-node tree, which timed out (120s) on the macOS ZTS nightly runner. At zend.max_allowed_stack_size=512K the serializer overflows well below 10000 nested nodes, so reducing the depth keeps the test fast while still tripping the stack guard it verifies.

The 100000-node tree could exceed the run-tests timeout on the macOS
ZTS runner. The 512K stack limit overflows well below 10000 nested
nodes, so reduce the depth to keep the test fast while still tripping
the serializer stack guard.
@iluuu1994

Copy link
Copy Markdown
Member

This issue was already fixed here: #22612

@iliaal iliaal closed this Jul 7, 2026
@iliaal

iliaal commented Jul 7, 2026

Copy link
Copy Markdown
Contributor Author

Ah yes, missed it. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants