Permalink
Browse files

increase server stop wait time for tests

Increase the server stop wait time in test/support/include.mk.in so that
it's long enough to work with debug builds.
  • Loading branch information...
vinoski committed Apr 7, 2013
1 parent 98ffe2f commit 74a5b33b2d9c89c4360b135ab2c5a7f03396ac6d
Showing with 4 additions and 2 deletions.
  1. +4 −2 test/support/include.mk.in
@@ -8,6 +8,8 @@ YAWS=$(YTOP)/bin/yaws
SUBST=../../scripts/Subst
+STOP_WAIT_TIME=10
+
COMPILER_PA = -pa $(YTOP)/ebin -pa $(YTOP)/test/ibrowse/ebin
%.beam: %.erl
@@ -49,9 +51,9 @@ connect:
status:
$(YTOP)/bin/yaws --id testid --status
stop:
- $(YTOP)/bin/yaws --id testid --stop && sleep 5 || true
+ $(YTOP)/bin/yaws --id testid --stop && sleep $(STOP_WAIT_TIME) || true
quiet_stop:
- $(YTOP)/bin/yaws --id testid --stop >/dev/null 2>&1 && sleep 5 || true
+ $(YTOP)/bin/yaws --id testid --stop >/dev/null 2>&1 && sleep $(STOP_WAIT_TIME) || true
stdconf authconf revproxyconf deflateconf davconf mimetypes redirectconf websocketconf:
cat ../conf/$@.conf | \

0 comments on commit 74a5b33

Please sign in to comment.