From f524dd80f4ae8338fce6e3ac068b9b663a6695a6 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Mon, 8 Apr 2024 19:47:37 +0200 Subject: [PATCH] tests: query dmeventd instead of sleep Checking status of running instance of dmeventd should be a better 'sleep'. --- test/shell/dmeventd-restart.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/shell/dmeventd-restart.sh b/test/shell/dmeventd-restart.sh index a2965530f..13feb3745 100644 --- a/test/shell/dmeventd-restart.sh +++ b/test/shell/dmeventd-restart.sh @@ -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 -- 2.43.5