mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
nixos.tests.swraid: Drop mdadm -W
This command is racy because it will return a non-zero exit code if the array is already clean. This caused numerous random failures. It should be unnecessary anyway. (Maybe in the past we needed this because of #15226.) http://hydra.nixos.org/job/nixos/release-16.03/nixos.tests.installer.swraid.i686-linux
This commit is contained in:
parent
ad29b72686
commit
3e7b510281
@ -403,8 +403,6 @@ in {
|
|||||||
"mkdir /mnt/boot",
|
"mkdir /mnt/boot",
|
||||||
"mount LABEL=boot /mnt/boot",
|
"mount LABEL=boot /mnt/boot",
|
||||||
"udevadm settle",
|
"udevadm settle",
|
||||||
"mdadm --verbose -W /dev/md0", # wait for sync to finish; booting off an unsynced device tends to fail
|
|
||||||
"mdadm --verbose -W /dev/md1",
|
|
||||||
);
|
);
|
||||||
'';
|
'';
|
||||||
preBootCommands = ''
|
preBootCommands = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user