tests: Wait for shell for twice as long (10m)
See #49441 for an earlier attempt, which was subsequently reverted. I am assuming that doubling the time will be sufficient if the machine is overloaded since so many of the tests already pass at 5 minutes, while still not holding back failures for needlessly long.
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user