From: Zoe Slattery Date: Tue, 17 Feb 2009 15:16:45 +0000 (+0000) Subject: Increased the sleep() from 1 to 5 to prevent intermittent failures X-Git-Tag: RELEASE_1_3_5~93 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1f4f3e269a3ef753205dd47036a2af5ceccb5fe0;p=php Increased the sleep() from 1 to 5 to prevent intermittent failures --- diff --git a/ext/standard/tests/mail/mail_basic2.phpt b/ext/standard/tests/mail/mail_basic2.phpt index 3e92479deb..bb2e42eebc 100644 --- a/ext/standard/tests/mail/mail_basic2.phpt +++ b/ext/standard/tests/mail/mail_basic2.phpt @@ -30,7 +30,12 @@ $outFile = "mailBasic2.out"; 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); ?>