tests/tools/Docker/do_test_in_docker.sh
author Edouard Tisserant <edouard@beremiz.fr>
Mon, 22 Jul 2024 16:13:27 +0200
changeset 3996 4eb23bb4bc2f
parent 3693 4058140a8757
permissions -rwxr-xr-x
MQTT: Implements reconnecting in publish thread in case thread is waken-up but client is disconnected.

Note: paho's lostConnection callback got already disabled in previous commit.
#!/bin/bash

set -e

CONTAINER=beremiz_sikuli_current

docker stop $CONTAINER
docker start $CONTAINER 
docker exec $CONTAINER bash -c "do_tests $1"
docker stop $CONTAINER