com php-src: Speed up test for bug72333: ext/openssl/tests/bug72333.phpt
| From: | Jakub Zelenka | Date: | Tue, 14 Mar 2017 18:13:57 +0000 |
| Subject: | com php-src: Speed up test for bug72333: ext/openssl/tests/bug72333.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-97307@lists.php.net to get a copy of this message | ||
Commit: f0e67d1a56d03383067ce04d9109dc9c83b37e03
Author: Jakub Zelenka <bukka@php.net> Wed, 8 Mar 2017 19:49:39 +0000
Parents: 411f4b1b6f6f18e64b451711c19ebbc8463e5d19
Branches: PHP-7.0
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f0e67d1a56d03383067ce04d9109dc9c83b37e03
Log:
Speed up test for bug72333
It reliably fails without the xp_ssl.c so it is good with smaller usleep
Bugs:
https://bugs.php.net/72333
Changed paths:
M ext/openssl/tests/bug72333.phpt
Diff:
diff --git a/ext/openssl/tests/bug72333.phpt b/ext/openssl/tests/bug72333.phpt
index ab2b607..466157b 100644
--- a/ext/openssl/tests/bug72333.phpt
+++ b/ext/openssl/tests/bug72333.phpt
@@ -17,7 +17,7 @@ $serverCode = <<<'CODE'
for ($i = 0; $i < 5; $i++) {
fread($conn, 100000);
- usleep(200000);
+ usleep(20000);
}
CODE;