From 75907f0e80b21cab8af7ef48ee1b782f21eac83b Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Wed, 4 Dec 2024 16:03:09 +0100 Subject: [PATCH] tests: do not use noudevsync with udev system Remove --noudevsync option - as this breaks synchronization with udev which is necessary when trying to i.e. create _rmeta_3 and wipe it - as the symlinks must be present for wiping. So if there was some other issue (behind the comment) - we need to check for the problem elsewhere instead of disabling udev sync. --- test/shell/lvconvert-raid-reshape-size.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/shell/lvconvert-raid-reshape-size.sh b/test/shell/lvconvert-raid-reshape-size.sh index 36291abcd..bf5ed5f2b 100644 --- a/test/shell/lvconvert-raid-reshape-size.sh +++ b/test/shell/lvconvert-raid-reshape-size.sh @@ -157,8 +157,7 @@ function _reshape_layout stripes=$(_total_stripes $raid_type $data_stripes) - # Avoid random udev sync delays causing _check_size to be unreliable - lvconvert -y --noudevsync --ty $raid_type --stripes $data_stripes $opts $vg/$lv + lvconvert -y --ty $raid_type --stripes $data_stripes $opts $vg/$lv check lv_first_seg_field $vg/$lv1 segtype "$raid_type" if [ $wait_for_reshape -eq 1 ]