Skip to content

Commit c82db65

Browse files
committed
Mark slow tests
Each of these tests took more than ten seconds on a recent AppVeyor CI run; that appears to qualify them to be marked as slow tests.
1 parent 56c1633 commit c82db65

File tree

5 files changed

+8
-0
lines changed

5 files changed

+8
-0
lines changed

Zend/tests/bug79514.phpt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
--TEST--
22
Bug #79514 (Memory leaks while including unexistent file)
3+
--SKIPIF--
4+
<?php
5+
if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
6+
?>
37
--FILE--
48
<?php
59
$mem1 = memory_get_usage(true);

ext/mysqli/tests/bug79375.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
Bug #79375: mysqli_store_result does not report error from lock wait timeout
33
--SKIPIF--
44
<?php
5+
if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
56
require_once('skipif.inc');
67
require_once('skipifconnectfailure.inc');
78
if (!defined('MYSQLI_STORE_RESULT_COPY_DATA')) die('skip requires mysqlnd');

ext/mysqli/tests/mysqli_fetch_array_large.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
mysqli_fetch_array() - large packages (to test compression)
33
--SKIPIF--
44
<?php
5+
if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
56
require_once('skipif.inc');
67
require_once('skipifconnectfailure.inc');
78
?>

ext/openssl/tests/openssl_free_key.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ void openssl_free_key ( resource $key_identifier );
44
marcosptf - <marcosptf@yahoo.com.br> - @phpsp - sao paulo - br
55
--SKIPIF--
66
<?php
7+
if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
78
if (!extension_loaded("openssl"))
89
die("skip");
910
if (!@openssl_pkey_new())

ext/standard/tests/file/005_variation-win32.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Test fileatime(), filemtime(), filectime() & touch() functions : usage variation
55
if (substr(PHP_OS, 0, 3) != 'WIN') {
66
die('skip Windows-only test');
77
}
8+
if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
89
?>
910
--FILE--
1011
<?php

0 commit comments

Comments
 (0)