[master] 3cdb917 Add a delay when TERMinating a process
Federico G. Schwindt
fgsch at lodoss.net
Sun Jan 21 16:57:08 UTC 2018
commit 3cdb9171e70a78a2aefcce4923464db66352e3a2
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date: Sun Jan 21 16:01:14 2018 +0000
Add a delay when TERMinating a process
Otherwise we might end up missing the signal and fail later when
reset the process. All tests are passing in OSX now.
diff --git a/bin/varnishtest/vtc_process.c b/bin/varnishtest/vtc_process.c
index a251c6b..4aeabcd 100644
--- a/bin/varnishtest/vtc_process.c
+++ b/bin/varnishtest/vtc_process.c
@@ -756,6 +756,7 @@ cmd_process(CMD_ARGS)
}
if (!strcmp(*av, "-stop")) {
process_kill(p, "TERM");
+ sleep(1);
continue;
}
if (!strcmp(*av, "-wait")) {
More information about the varnish-commit
mailing list