nixos.tests.installer: Attempt to fix race condition

Attempt to fix race condition in installer tests, especially the
grub1 test.

The latter was failing when running "parted /dev/sda ..." because
/dev/sda didn't exist yet.
This commit is contained in:
Ricardo M. Correia 2014-05-30 21:22:25 +02:00
parent b7e99da4a1
commit abd0b3f411

View file

@ -147,6 +147,9 @@ let
or die "bad `hello' output";
''}
# Wait for hard disks to appear in /dev
$machine->succeed("udevadm settle");
# Partition the disk.
${createPartitions}