Skip to content

Commit

Permalink
Make doesn't-hang wait longer
Browse files Browse the repository at this point in the history
  • Loading branch information
zoffixznet committed Jul 30, 2018
1 parent 2abee09 commit db9b8bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/Test/Util.pm
Expand Up @@ -214,7 +214,7 @@ sub get_out( Str $code, Str $input?, :@args, :@compiler-args) is export {
return %out;
}

multi doesn't-hang (Str $args, $desc, :$in, :$wait = 5, :$out, :$err)
multi doesn't-hang (Str $args, $desc, :$in, :$wait = 15, :$out, :$err)
is export {
doesn't-hang \($*EXECUTABLE.absolute, '-e', $args), $desc,
:$in, :$wait, :$out, :$err;
Expand All @@ -225,7 +225,7 @@ is export {
my $VM-time-scale-multiplier = $*VM.name eq 'jvm' ?? 20/3 !! 1;
multi doesn't-hang (
Capture $args, $desc = 'code does not hang',
:$in, :$wait = 5, :$out, :$err,
:$in, :$wait = 15, :$out, :$err,
) is export {
my $prog = Proc::Async.new: |$args;
my ($stdout, $stderr) = '', '';
Expand Down

0 comments on commit db9b8bd

Please sign in to comment.