Skip to content

Commit 80063a5

Browse files
committed
Merge branch 'PHP-8.2'
* PHP-8.2: Fix oci_success_with_info.phpt test random failures
2 parents 189159b + fee4bdb commit 80063a5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ext/pdo_oci/tests/oci_success_with_info.phpt

+5-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ Handling OCI_SUCCESS_WITH_INFO
33
--EXTENSIONS--
44
pdo
55
pdo_oci
6+
--SKIPIF--
7+
<?php
8+
if (getenv('SKIP_SLOW_TESTS')) die('skip slow tests excluded by request');
9+
?>
610
--FILE--
711
<?php
812

@@ -67,7 +71,7 @@ $conn->exec('CREATE USER BUG77120_USER IDENTIFIED BY "' . $password . '" PROFILE
6771
$conn->exec('GRANT CREATE SESSION TO BUG77120_USER');
6872

6973
// let the password expire
70-
sleep(2);
74+
sleep(3); // 2 seconds is causing random test failures
7175

7276
$conn = connectAsUser('BUG77120_USER', $password);
7377
var_dump($conn->errorInfo());

0 commit comments

Comments
 (0)