diff --git a/everything.stor b/everything.stor index b4f0b8b..683eef4 100644 Binary files a/everything.stor and b/everything.stor differ diff --git a/lib/TestCpanInc.pm b/lib/TestCpanInc.pm index e9b8d97..4a16010 100644 --- a/lib/TestCpanInc.pm +++ b/lib/TestCpanInc.pm @@ -6,7 +6,7 @@ use autodie; use warnings; use Data::Dumper; use List::Util qw/uniq/; -use IPC::Run qw/run/; +use IPC::Run qw/run timeout/; use Module; our $perlbrew_env = 'blead'; @@ -55,7 +55,7 @@ sub run_cpanm { my @cmd = (qw/perlbrew exec --with/, $perlbrew_env, qw|cpanm --reinstall --verbose |, $module); my $out; - run \@cmd, '>&', \$out; + run \@cmd, '>&', \$out, timeout(10*60); # timeout after 10 minutes my $exitcode = $?;