mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
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 New Issue
Block a user