zoe Tue Feb 17 15:21:10 2009 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/standard/tests/mail mail_basic2.phpt
Log:
Increased the sleep() from 1 to 5 to prevent intermittent failures
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/mail/mail_basic2.phpt?r1=1.2.2.2&r2=1.2.2.3&diff_format=u
Index: php-src/ext/standard/tests/mail/mail_basic2.phpt
diff -u php-src/ext/standard/tests/mail/mail_basic2.phpt:1.2.2.2
php-src/ext/standard/tests/mail/mail_basic2.phpt:1.2.2.3
--- php-src/ext/standard/tests/mail/mail_basic2.phpt:1.2.2.2 Fri Jan 23
17:12:19 2009
+++ php-src/ext/standard/tests/mail/mail_basic2.phpt Tue Feb 17 15:21:10 2009
@@ -30,7 +30,12 @@
echo "-- extra parameters --\n";
// Calling mail() with all possible arguments
var_dump( mail($to, $subject, $message, $additional_headers,
$additional_parameters) );
-sleep(1);
+
+//This test is just using a shell command (see the INI setting). The sleep()
+//is used because that can take a while. If you see the test failing sometimes
try
+//increasing the length of the sleep.
+
+sleep(5);
echo file_get_contents($outFile);
//unlink($outFile);
?>
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php