зеркало из https://github.com/mozilla/pjs.git
Backing BloatTest off to 60 seconds to allow for slower startup :(
This commit is contained in:
Родитель
a4e7e92ef9
Коммит
f921f5f7cc
|
@ -6,7 +6,7 @@ use Sys::Hostname;
|
|||
use POSIX "sys_wait_h";
|
||||
use Cwd;
|
||||
|
||||
$Version = '$Revision: 1.24 $ ';
|
||||
$Version = '$Revision: 1.25 $ ';
|
||||
|
||||
|
||||
sub PrintUsage {
|
||||
|
@ -763,8 +763,8 @@ sub RunBloatTest {
|
|||
# Set up a timer with a signal handler.
|
||||
$SIG{ALRM} = \&killer;
|
||||
|
||||
# Wait 30 seconds, then kill the process if it's still alive.
|
||||
alarm 30;
|
||||
# Wait 60 seconds, then kill the process if it's still alive.
|
||||
alarm 60;
|
||||
|
||||
$status = waitpid($pid, 0);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче