Hacky fix for tests running on freebsd

This commit is contained in:
Hamish Coleman
2023-06-25 21:08:36 +08:00
parent 0d005d189d
commit ccd33dc8cc
+3
View File
@@ -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