Skip to content

Commit 78a0b57

Browse files
committed
Reduce memory limit for gh19983.phpt
This test takes 140s on my machine with ASAN, and thus cause a bunch of timeouts in nightly. The issue reproduces with 16M, reducing execution time to 20s. Also mark the tests as slow.
1 parent e912c02 commit 78a0b57

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Zend/tests/fibers/gh19983.phpt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
--TEST--
22
GH-19983 (GC Assertion Failure with fibers, generators and destructors)
33
--SKIPIF--
4-
<?php if (PHP_INT_SIZE < 8) die("skip 64-bit only - fiber stacks exhaust 32-bit address space"); ?>
4+
<?php
5+
if (PHP_INT_SIZE < 8) die("skip 64-bit only - fiber stacks exhaust 32-bit address space");
6+
if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
7+
?>
58
--INI--
6-
memory_limit=128M
9+
memory_limit=16M
710
--FILE--
811
<?php
912
class a

0 commit comments

Comments
 (0)