Skip to content

Commit

Permalink
Unparallelize IO heavy tests
Browse files Browse the repository at this point in the history
Alternative to GH-10892. This is somewhat unfortunate since these are also the
slow tests. I'm also not sure if this actually helps.

Closes GH-10953
  • Loading branch information
iluuu1994 committed Mar 27, 2023
1 parent 6f56c00 commit e1ec67a
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 2 deletions.
2 changes: 2 additions & 0 deletions ext/mysqli/tests/mysqli_fetch_array_large.phpt
Expand Up @@ -7,6 +7,8 @@ mysqli
if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
require_once('skipifconnectfailure.inc');
?>
--CONFLICTS--
all
--INI--
memory_limit=-1
--FILE--
Expand Down
2 changes: 2 additions & 0 deletions ext/mysqli/tests/mysqli_stmt_bind_limits.phpt
Expand Up @@ -6,6 +6,8 @@ mysqli
<?php
require_once('skipifconnectfailure.inc');
?>
--CONFLICTS--
all
--FILE--
<?php
require_once("connect.inc");
Expand Down
3 changes: 2 additions & 1 deletion ext/oci8/tests/CONFLICTS
@@ -1 +1,2 @@
oci8
# OCI tests are network intensive and may cause timeouts in other tests
all
3 changes: 2 additions & 1 deletion ext/pdo_oci/tests/CONFLICTS
@@ -1 +1,2 @@
oci8
# OCI tests are network intensive and may cause timeouts in other tests
all
2 changes: 2 additions & 0 deletions ext/standard/tests/file/bug81145.phpt
Expand Up @@ -13,6 +13,8 @@ if (PHP_OS_FAMILY !== "Windows") {
@unlink(__DIR__ . "/bug81145_src.bin");
}
?>
--CONFLICTS--
all
--FILE--
<?php
$src = __DIR__ . "/bug81145_src.bin";
Expand Down
2 changes: 2 additions & 0 deletions ext/standard/tests/streams/proc_open_bug69900.phpt
@@ -1,5 +1,7 @@
--TEST--
Bug #69900 Commandline input/output weird behaviour with STDIO
--CONFLICTS--
all
--FILE--
<?php

Expand Down
2 changes: 2 additions & 0 deletions ext/tidy/tests/parsing_file_too_large.phpt
Expand Up @@ -8,6 +8,8 @@ if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only");
if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
if (getenv("SKIP_ASAN")) die("skip too big for asan");
?>
--CONFLICTS--
all
--INI--
memory_limit="5G"
--FILE--
Expand Down
2 changes: 2 additions & 0 deletions sapi/cli/tests/upload_2G.phpt
Expand Up @@ -42,6 +42,8 @@ if (getenv('SKIP_PERF_SENSITIVE')) {
die("skip Test may be very slow if PHP is instrumented");
}
?>
--CONFLICTS--
all
--FILE--
<?php

Expand Down

0 comments on commit e1ec67a

Please sign in to comment.