From 49bd27ce15acb8514b0dcc10327535a7619d1ac3 Mon Sep 17 00:00:00 2001 From: david-i-berry Date: Mon, 19 Aug 2024 15:54:36 +0200 Subject: [PATCH] Debugging volume / paths --- .github/workflows/test-docker.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test-docker.yml b/.github/workflows/test-docker.yml index ce3073c..8138292 100644 --- a/.github/workflows/test-docker.yml +++ b/.github/workflows/test-docker.yml @@ -36,11 +36,11 @@ jobs: docker exec publisher pywis-pubsub publish --topic cache/a/wis2/my-centre/services/downloader \ --config /pywis-pubsub/config/config.yml \ -i test -u "http://subscriber:5000/openapi" - sleep 1s + sleep 5s echo $(pwd) ls -R . # cat file contents (check the published file has been downloaded) - cat "./data/downloads/$(date +'%Y')/$(date +'%m')/$(date +'%d')/cache/a/wis2/my-centre/services/downloader/openapi.bin" + cat "./data/$(date +'%Y')/$(date +'%m')/$(date +'%d')/cache/a/wis2/my-centre/services/downloader/openapi.bin" # test deleting subscriptions docker exec subscriber bash -c "source /home/wis2downloader/.venv/bin/activate && wis2downloader remove-subscription --topic cache/a/wis2/+/services/#" - name: Run API tests @@ -62,9 +62,9 @@ jobs: docker exec publisher pywis-pubsub publish --topic cache/a/wis2/my-centre/services/downloader \ --config /pywis-pubsub/config/config.yml \ -i test -u "http://subscriber:5000/metrics" - sleep 1s + sleep 5s # cat file contents (check the published file has been downloaded) - cat "./data/downloads/$(date +'%Y')/$(date +'%m')/$(date +'%d')/cache/a/wis2/my-centre/services/downloader/metrics.bin" + cat "./data/$(date +'%Y')/$(date +'%m')/$(date +'%d')/cache/a/wis2/my-centre/services/downloader/metrics.bin" # test deleting subscriptions curl -X DELETE http://localhost:5000/subscriptions/cache/a/wis2/%2B/services/%23 - name: Shutdown