diff options
author | Darrick J. Wong <djwong@kernel.org> | 2022-03-15 20:30:09 -0700 |
---|---|---|
committer | Eryu Guan <guaneryu@gmail.com> | 2022-04-10 20:29:28 +0800 |
commit | e1b93b712f2993303cc5905efdb6c51b4fda7295 (patch) | |
tree | bbfa33439413267e36c3face61f32d308c8975b1 | |
parent | cce62cbb35cdfab197ce7297c2997c3d460aaab2 (diff) | |
download | xfstests-dev-e1b93b712f2993303cc5905efdb6c51b4fda7295.tar.gz |
generic/459: ensure that the lvm devices have been created
Once in a /very/ long while this test fails because _mkfs_dev can't find
the LVM thinp volume after it's been created. Since the "solution" du
jour seems to be to sprinkle udevadm settle calls everywhere, do that
here in the hopes that will fix it.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
-rwxr-xr-x | tests/generic/459 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/generic/459 b/tests/generic/459 index cda19e6eb2..57d58e55c1 100755 --- a/tests/generic/459 +++ b/tests/generic/459 @@ -70,6 +70,7 @@ $LVM_PROG lvcreate --virtualsize $virtsize \ -T $vgname/$poolname \ -n $lvname >>$seqres.full 2>&1 +$UDEV_SETTLE_PROG &>/dev/null _mkfs_dev /dev/mapper/$vgname-$lvname >>$seqres.full 2>&1 # Running the test over the original volume doesn't reproduce the problem |