git.iko.soy/typeable/nixpkgs
on master help sign in
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

commit3e7b510281e6144a441646dd6e32cc3f3bae1f8a authorEelco Dolstra <eelco.dolstra@logicblox.com> dateTue 24 May 2016, 17:20 (11 years ago) parentad29b72
1 file changed−2
nixos/tests/installer.nix−2
nixos/tests/installer.nix−2
@@ -403,8 +403,6 @@ in {
403403 "mkdir /mnt/boot",
404404 "mount LABEL=boot /mnt/boot",
405405 "udevadm settle",
406− "mdadm --verbose -W /dev/md0", # wait for sync to finish; booting off an unsynced device tends to fail
407− "mdadm --verbose -W /dev/md1",
408406 );
409407 '';
410408 preBootCommands = ''