[CRIU] [PATCH] zdtm:Makefile increase wait timeout
Konstantin Neumoin
kneumoin at parallels.com
Thu Oct 23 01:07:09 PDT 2014
This timeout is too small for tcp test cases.
This timeout should be bigger than TCP_RTO_MAX 120 seconds
Signed-off-by: Konstantin Neumoin <kneumoin at parallels.com>
---
test/zdtm/live/static/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/zdtm/live/static/Makefile b/test/zdtm/live/static/Makefile
index e9cac39..986a918 100644
--- a/test/zdtm/live/static/Makefile
+++ b/test/zdtm/live/static/Makefile
@@ -256,9 +256,9 @@ check_start: $(PID:%.pid=%.is_running)
stop: $(STATE_OUT)
-kill -TERM `cat *.pid`
-WAIT_TIME=10
+WAIT_TIME=240
wait_stop:
- -for ((i = 0; i < $(WAIT_TIME); i++)); do \
+ for ((i = 0; i < $(WAIT_TIME); i++)); do \
kill -0 `cat *.pid 2>/dev/null` 2>/dev/null || break; \
sleep 1; \
done
--
1.7.11.7
More information about the CRIU
mailing list