1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

tests: query dmeventd instead of sleep

Checking status of running instance of dmeventd should be a better 'sleep'.
This commit is contained in:
Zdenek Kabelac 2024-04-08 19:47:37 +02:00
parent 092951f634
commit f524dd80f4

View File

@ -26,8 +26,7 @@ _restart_dmeventd() {
sleep .1
done
# wait a bit, so we talk to the new dmeventd later
# On some systems init of selinux contex may take a while...
sleep 1.5
dmeventd -i || true
}
aux prepare_dmeventd