summaryrefslogtreecommitdiff
path: root/ext/oci8/tests/details.inc
diff options
context:
space:
mode:
Diffstat (limited to 'ext/oci8/tests/details.inc')
-rw-r--r--ext/oci8/tests/details.inc10
1 files changed, 10 insertions, 0 deletions
diff --git a/ext/oci8/tests/details.inc b/ext/oci8/tests/details.inc
index 75a136ce3..922b8c4f4 100644
--- a/ext/oci8/tests/details.inc
+++ b/ext/oci8/tests/details.inc
@@ -12,6 +12,9 @@
* greater, and $dbase should be set to the tnsnames.ora entry
* corresponding to the POOLED server instance or an Easy Connect
* string like hostname:port/service_name:POOLED
+ *
+ * Set $stress_test to TRUE if you want to run some longer/slower/more
+ * memory intensive tests.
*/
if (file_exists(dirname(__FILE__)."/details_local.inc")) {
@@ -33,12 +36,19 @@ if (file_exists(dirname(__FILE__)."/details_local.inc")) {
} else {
$oracle_on_localhost = FALSE;
}
+ $stress_test = getenv('PHP_OCI8_STRESS_TEST');
+ if (false !== $stress_test && 0 == strcasecmp($stress_test,'TRUE')) {
+ $stress_test = TRUE;
+ } else {
+ $stress_test = FALSE;
+ }
} else {
$user = "system";
$password = "oracle";
$dbase = "localhost/XE";
$oracle_on_localhost = TRUE;
$test_drcp = FALSE;
+ $stress_test = FALSE;
}
/*