From ce3ed1fb90a3216ea36595c530b82cdc9ab3973c Mon Sep 17 00:00:00 2001 From: Hamish Coleman Date: Sun, 25 Jun 2023 14:48:31 +0100 Subject: [PATCH] Expand the freebsd hacky fix to encompas edge tests as well --- scripts/test_integration_edge.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/test_integration_edge.sh b/scripts/test_integration_edge.sh index 4c6ee80..be65261 100755 --- a/scripts/test_integration_edge.sh +++ b/scripts/test_integration_edge.sh @@ -23,6 +23,10 @@ docmd sudo "${BINDIR}"/edge -l localhost:7654 -c test >/dev/null # TODO: # - send edge messages to stderr? +# TODO: probe the api endpoint, waiting for both the supernode and edge to be +# available? +sleep 0.1 + docmd "${TOPDIR}"/scripts/n2n-ctl communities docmd "${TOPDIR}"/scripts/n2n-ctl packetstats docmd "${TOPDIR}"/scripts/n2n-ctl edges --raw