From daa11dec050d95d31a7438df42574282ee46d286 Mon Sep 17 00:00:00 2001 From: Eric Blankenhorn Date: Fri, 20 Oct 2023 17:30:30 -0500 Subject: [PATCH] Add mosquitto to CI tests --- .github/workflows/fsanitize-check.yml | 1 + scripts/client.test | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/fsanitize-check.yml b/.github/workflows/fsanitize-check.yml index 273d82d4e..437d36510 100644 --- a/.github/workflows/fsanitize-check.yml +++ b/.github/workflows/fsanitize-check.yml @@ -27,6 +27,7 @@ jobs: run: | # Disable default broker daemon sudo service mosquitto stop + sleep 1 # This is some debug info useful if something goes wrong - name: Show network status diff --git a/scripts/client.test b/scripts/client.test index fc241e1e2..307ac9dff 100755 --- a/scripts/client.test +++ b/scripts/client.test @@ -36,6 +36,7 @@ then # Run mosquitto broker mosquitto -c scripts/broker_test/mosquitto.conf & broker_pid=$! + sleep 1 def_args="${def_args} -h localhost" mutual_auth_args="${mutual_auth_args} -c certs/client-cert.pem -K certs/client-key.pem" ecc_mutual_auth_args="${mutual_auth_args} -c certs/client-ecc-cert.pem -K certs/ecc-client-key.pem"