summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Jones <sixd@php.net>2020-09-10 17:33:30 +1000
committerChristopher Jones <sixd@php.net>2020-09-10 17:33:30 +1000
commitbca32de0c7d030e75d052fb51255bc9303fa010c (patch)
tree12dfbbc2ea564259b16ef1b3e1371d9bfb12cfce
parentbc508b0b889bedf4f50a78dd9839e69c36eff931 (diff)
downloadphp-git-bca32de0c7d030e75d052fb51255bc9303fa010c.tar.gz
Make PDO_OCI test more resilient
-rw-r--r--ext/pdo_oci/tests/pdo_oci_stream_2a.phpt8
-rw-r--r--ext/pdo_oci/tests/pdo_oci_stream_2b.phpt2
2 files changed, 5 insertions, 5 deletions
diff --git a/ext/pdo_oci/tests/pdo_oci_stream_2a.phpt b/ext/pdo_oci/tests/pdo_oci_stream_2a.phpt
index bd4cb8ad11..163a2c5fee 100644
--- a/ext/pdo_oci/tests/pdo_oci_stream_2a.phpt
+++ b/ext/pdo_oci/tests/pdo_oci_stream_2a.phpt
@@ -1,5 +1,5 @@
--TEST--
-PDO OCI: Inserts 10K with 1 number and 2 LOB columns (stress test)
+PDO OCI: Inserts 1K with 1 number and 2 LOB columns (stress test)
--SKIPIF--
<?php
if (!extension_loaded('pdo') || !extension_loaded('pdo_oci')) die('skip not loaded');
@@ -51,8 +51,8 @@ $a8 = str_repeat('h', 4093);
$a9 = str_repeat('i', 4094);
$a10 = str_repeat('j', 4095);
-printf("Inserting 10000 Records ... ");
-for($i=0; $i<1000; $i++) {
+printf("Inserting 1000 Records ... ");
+for($i=0; $i<100; $i++) {
do_insert($db, $i * 10 + 1, $a1, $a10);
do_insert($db, $i * 10 + 2, $a2, $a9);
do_insert($db, $i * 10 + 3, $a3, $a8);
@@ -71,4 +71,4 @@ printf("Done\n");
?>
--EXPECT--
-Inserting 10000 Records ... Done
+Inserting 1000 Records ... Done
diff --git a/ext/pdo_oci/tests/pdo_oci_stream_2b.phpt b/ext/pdo_oci/tests/pdo_oci_stream_2b.phpt
index a50b4815c3..de09c48728 100644
--- a/ext/pdo_oci/tests/pdo_oci_stream_2b.phpt
+++ b/ext/pdo_oci/tests/pdo_oci_stream_2b.phpt
@@ -1,5 +1,5 @@
--TEST--
-PDO OCI: Fetches 10K records from a table that contains 1 number and 2 LOB columns (stress test)
+PDO OCI: Fetches 1K records from a table that contains 1 number and 2 LOB columns (stress test)
--SKIPIF--
<?php
if (!extension_loaded('pdo') || !extension_loaded('pdo_oci')) die('skip not loaded');