Skip to content

Commit 5d62207

Browse files
committed
Unparallelize IO heavy tests
Alternative to phpGH-10892. I'm not sure if this actually helps.
1 parent 6f56c00 commit 5d62207

File tree

7 files changed

+19
-2
lines changed

7 files changed

+19
-2
lines changed

ext/mysqli/tests/mysqli_fetch_array_large.phpt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ mysqli
77
if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
88
require_once('skipifconnectfailure.inc');
99
?>
10+
--CONFLICTS--
11+
# This test is network intensive and may cause timeouts in other tests
12+
all
1013
--INI--
1114
memory_limit=-1
1215
--FILE--

ext/mysqli/tests/mysqli_stmt_bind_limits.phpt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ mysqli
66
<?php
77
require_once('skipifconnectfailure.inc');
88
?>
9+
--CONFLICTS--
10+
# This test is network intensive and may cause timeouts in other tests
11+
all
912
--FILE--
1013
<?php
1114
require_once("connect.inc");

ext/oci8/tests/CONFLICTS

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
oci8
1+
# OCI tests are network intensive and may cause timeouts in other tests
2+
all

ext/pdo_oci/tests/CONFLICTS

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
oci8
1+
# OCI tests are network intensive and may cause timeouts in other tests
2+
all

ext/standard/tests/file/bug81145.phpt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ if (PHP_OS_FAMILY !== "Windows") {
1313
@unlink(__DIR__ . "/bug81145_src.bin");
1414
}
1515
?>
16+
--CONFLICTS--
17+
# This test is filesystem intensive and may cause timeouts in other tests
18+
all
1619
--FILE--
1720
<?php
1821
$src = __DIR__ . "/bug81145_src.bin";

ext/tidy/tests/parsing_file_too_large.phpt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only");
88
if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
99
if (getenv("SKIP_ASAN")) die("skip too big for asan");
1010
?>
11+
--CONFLICTS--
12+
# This test is filesystem intensive and may cause timeouts in other tests
13+
all
1114
--INI--
1215
memory_limit="5G"
1316
--FILE--

sapi/cli/tests/upload_2G.phpt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ if (getenv('SKIP_PERF_SENSITIVE')) {
4242
die("skip Test may be very slow if PHP is instrumented");
4343
}
4444
?>
45+
--CONFLICTS--
46+
# This test is filesystem intensive and may cause timeouts in other tests
47+
all
4548
--FILE--
4649
<?php
4750

0 commit comments

Comments
 (0)