forked from mirrors/nixpkgs
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:
parent
b7e99da4a1
commit
abd0b3f411
|
@ -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}
|
||||
|
||||
|
|
Loading…
Reference in a new issue