From 0480b4743a77c166390f50561e8bcdb68214d4ba Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Thu, 30 Apr 2015 13:43:31 +0200 Subject: [PATCH] tests: wait between remount Let's see if this help with some races... --- test/shell/topology-support.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/shell/topology-support.sh b/test/shell/topology-support.sh index c1868146b..f465ab7fe 100644 --- a/test/shell/topology-support.sh +++ b/test/shell/topology-support.sh @@ -24,9 +24,11 @@ test_snapshot_mount() { mount "$(lvdev_ $vg $lv1)" test_mnt lvcreate -L4M -n $lv2 -s $vg/$lv1 umount test_mnt + aux udev_wait # mount the origin mount "$(lvdev_ $vg $lv1)" test_mnt umount test_mnt + aux udev_wait # mount the snapshot mount "$(lvdev_ $vg $lv2)" test_mnt umount test_mnt