From 9bc10e12916979c5c620be5b521b9218a0077cba Mon Sep 17 00:00:00 2001 From: Sarah Brofeldt Date: Tue, 30 Oct 2018 09:10:47 +0100 Subject: [PATCH] NixOS tests: Wait for shell for 10x longer (50m) --- nixos/lib/test-driver/Machine.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos/lib/test-driver/Machine.pm b/nixos/lib/test-driver/Machine.pm index a00fe25c2b8e..abcc1c50d4d8 100644 --- a/nixos/lib/test-driver/Machine.pm +++ b/nixos/lib/test-driver/Machine.pm @@ -250,7 +250,8 @@ sub connect { $self->start; local $SIG{ALRM} = sub { die "timed out waiting for the VM to connect\n"; }; - alarm 300; + # 50 minutes -- increased as a test, see #49441 + alarm 3000; readline $self->{socket} or die "the VM quit before connecting\n"; alarm 0;