Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit bb6b659

Browse files
committedMar 26, 2024
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)
Please sign in to comment.