From 4b655ab22c1209ebdab5cee909bd01c244a84e2d Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Tue, 3 Nov 2015 14:39:44 -0800 Subject: tests --- tests/http/docker-main.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/http/docker-main.sh') diff --git a/tests/http/docker-main.sh b/tests/http/docker-main.sh index f9e11de5..29cdced9 100755 --- a/tests/http/docker-main.sh +++ b/tests/http/docker-main.sh @@ -4,11 +4,13 @@ export PATH=/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin /zerotier-one -d >>zerotier-one.out 2>&1 +# Wait for ZeroTier to start and join the network while [ ! -d "/proc/sys/net/ipv6/conf/zt0" ]; do sleep 0.25 done -sleep 2 +# Wait just a bit longer for stuff to settle +sleep 5 exec node --harmony /agent.js >>agent.out 2>&1 #exec node --harmony /agent.js -- cgit v1.2.3