diff options
author | tailor <cygnus@janrain.com> | 2006-04-11 21:07:40 +0000 |
---|---|---|
committer | tailor <cygnus@janrain.com> | 2006-04-11 21:07:40 +0000 |
commit | 7128a78b0e433bb8ff985b684f11c473cf28aeaa (patch) | |
tree | 3d88beb0ba94ba0d5892fe49988a5642d4f6d536 /Tests/Auth/OpenID/StoreTest.php | |
parent | bbb34f4e4e933fe8ff5e99c6abb65e0b2504ba93 (diff) | |
download | php-openid-7128a78b0e433bb8ff985b684f11c473cf28aeaa.zip php-openid-7128a78b0e433bb8ff985b684f11c473cf28aeaa.tar.gz php-openid-7128a78b0e433bb8ff985b684f11c473cf28aeaa.tar.bz2 |
[project @ More fixes for pgsql db creation]
Diffstat (limited to 'Tests/Auth/OpenID/StoreTest.php')
-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() |