From ccd33dc8ccc7807ef52eb4bad8e35669e9e9e935 Mon Sep 17 00:00:00 2001 From: Hamish Coleman Date: Sun, 25 Jun 2023 13:49:31 +0100 Subject: [PATCH] Hacky fix for tests running on freebsd --- scripts/test_integration_supernode.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/test_integration_supernode.sh b/scripts/test_integration_supernode.sh index 4d5145d..d939769 100755 --- a/scripts/test_integration_supernode.sh +++ b/scripts/test_integration_supernode.sh @@ -18,6 +18,9 @@ docmd() { # start it running in the background docmd "${BINDIR}"/supernode -v +# TODO: probe the api endpoint, waiting for the supernode to be available? +sleep 0.1 + docmd "${TOPDIR}"/scripts/n2n-ctl -t 5645 communities docmd "${TOPDIR}"/scripts/n2n-ctl -t 5645 packetstats docmd "${TOPDIR}"/scripts/n2n-ctl -t 5645 edges --raw