Skip to content

Commit bb6b659

Browse files
committed
Tests are not repeatable
gc_threshold is inherited accross requests, so the tests fail when repeating
1 parent f968a63 commit bb6b659

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

Zend/tests/gh13670_001.phpt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
--TEST--
22
GH-13670 001
3+
--SKIPIF--
4+
<?php
5+
// gc_threshold is global state
6+
if (getenv('SKIP_REPEAT')) die('skip Not repeatable');
7+
?>
38
--FILE--
49
<?php
510

Zend/tests/gh13670_002.phpt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
--TEST--
22
GH-13670 002
3+
--SKIPIF--
4+
<?php
5+
// gc_threshold is global state
6+
if (getenv('SKIP_REPEAT')) die('skip Not repeatable');
7+
?>
38
--FILE--
49
<?php
510

Zend/tests/gh13670_003.phpt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
--TEST--
22
GH-13670 003
3+
--SKIPIF--
4+
<?php
5+
// gc_threshold is global state
6+
if (getenv('SKIP_REPEAT')) die('skip Not repeatable');
7+
?>
38
--FILE--
49
<?php
510

0 commit comments

Comments
 (0)