Merge pull request #53828 from samueldr/feature/double-alarm-time

tests: Wait for shell for twice as long (10m)
This commit is contained in:
Samuel Dionne-Riel 2019-01-12 12:08:14 -05:00 committed by GitHub
commit 3b68ddb6fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -250,7 +250,7 @@ sub connect {
$self->start; $self->start;
local $SIG{ALRM} = sub { die "timed out waiting for the VM to connect\n"; }; local $SIG{ALRM} = sub { die "timed out waiting for the VM to connect\n"; };
alarm 300; alarm 600;
readline $self->{socket} or die "the VM quit before connecting\n"; readline $self->{socket} or die "the VM quit before connecting\n";
alarm 0; alarm 0;