From a1bee06edfb65f2dd5afbf592cf8c589c2b31105 Mon Sep 17 00:00:00 2001 From: Daniel Nichter Date: Wed, 24 Aug 2011 11:24:07 -0600 Subject: [PATCH] One more stabilizer for Daemon.t. --- t/lib/Daemon.t | 1 + 1 file changed, 1 insertion(+) diff --git a/t/lib/Daemon.t b/t/lib/Daemon.t index eca86080..61350069 100644 --- a/t/lib/Daemon.t +++ b/t/lib/Daemon.t @@ -138,6 +138,7 @@ system("$cmd 5 --daemonize --pid $pid_file 2>&1"); PerconaTest::wait_for_files($pid_file); chomp($pid = `cat $pid_file`); kill 9, $pid; +sleep 0.25; $output = `ps wx | grep '^[ ]*$pid' | grep -v grep`; unlike( $output,