diff options
Diffstat (limited to 'Tests/Auth')
-rw-r--r-- | Tests/Auth/OpenID/StoreTest.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Tests/Auth/OpenID/StoreTest.php b/Tests/Auth/OpenID/StoreTest.php index 05e92ac..e532e0f 100644 --- a/Tests/Auth/OpenID/StoreTest.php +++ b/Tests/Auth/OpenID/StoreTest.php @@ -367,7 +367,8 @@ explicitly'); if (PEAR::isError($result)) { $failures++; - sleep((mt_rand(1, 100) / 100.0) * pow($failures, 2)); + sleep(((mt_rand(1, 100) / 100.0) * pow($failures, 2)) + + mt_rand(2, 5)); } else { $success = true; } @@ -423,6 +424,7 @@ explicitly'); } $template_db->disconnect(); + unset($template_db); } function test_sqlitestore() |