Skip to content

Commit 8a8e307

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. Closes GH-7077.
1 parent 007046f commit 8a8e307

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

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/pdo_mysql/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
if (!extension_loaded('pdo') || !extension_loaded('pdo_mysql')) die('skip not loaded');
67
require_once(__DIR__ . DIRECTORY_SEPARATOR . 'skipif.inc');
78
require_once(__DIR__ . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc');

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)