com php-src: Speed up test for bug72333: ext/openssl/tests/bug72333.phpt

[email protected] (Jakub Zelenka)
Newsgroups php.cvs
Message-ID <[email protected]>
Commit:    f0e67d1a56d03383067ce04d9109dc9c83b37e03
Author:    Jakub Zelenka <[email protected]>         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;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.