Skip to content

Commit d5b56c0

Browse files
committed
Fix oci_success_with_info.phpt test random failures
1 parent f4afa9a commit d5b56c0

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

Lines changed: 5 additions & 1 deletion
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)