From 7de333f8393086924966faae0f3e9ebb6185eea7 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Sat, 8 Aug 2020 13:22:24 +0200 Subject: [PATCH] tests: jobs: Sleep more This one sometimes fails with a zombie detected, so I'm assuming it's too fast for reaping to happen, so we add another 100ms sleep. Yeah, this isn't great but...eh --- tests/checks/jobs.fish | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/checks/jobs.fish b/tests/checks/jobs.fish index 2dfb6da4d..14772b3b9 100644 --- a/tests/checks/jobs.fish +++ b/tests/checks/jobs.fish @@ -7,6 +7,7 @@ sleep 0.2 & disown sleep 0.2 echo Trigger process reaping +sleep 0.1 #CHECK: Trigger process reaping # The initial approach here was to kill the PID of the sleep process, which should # be gone by the time we get here. Unfortunately, kill from procps on pre-2016 distributions