Fix backend deploy and test script

This commit is contained in:
Martin Boehm 2019-03-01 13:59:06 +01:00
parent dda96b4a8f
commit 39f9f46d3d

View File

@ -28,6 +28,6 @@ sudo /usr/bin/dpkg -i "${PACKAGE}" || exit 1
sudo /bin/systemctl restart "backend-${SERVICE}" || exit 1
echo "Waiting for backend startup for ${BACKEND_TIMEOUT}"
timeout ${BACKEND_TIMEOUT} tail -f "/opt/coins/data/${COIN}/backend/${LOGFILE}"
sudo -u bitcoin /usr/bin/timeout ${BACKEND_TIMEOUT} /usr/bin/tail -f "/opt/coins/data/${COIN}/backend/${LOGFILE}"
make test-integration ARGS="-v -run=TestIntegration/${COIN_TEST}"