diff --git a/.github/workflows/end-to-end-tests.yml b/.github/workflows/end-to-end-tests.yml index 30d39ec..d1246d7 100644 --- a/.github/workflows/end-to-end-tests.yml +++ b/.github/workflows/end-to-end-tests.yml @@ -15,6 +15,7 @@ jobs: go-version: '1.20' - name: Install Docker Compose run: | + sudo apt-add-repository ppa:mosquitto-dev/mosquitto-ppa sudo apt-get update sudo apt-get install docker-compose docker-compose --version diff --git a/e2e_tests/run-e2e-tests.sh b/e2e_tests/run-e2e-tests.sh index b775ede..307ffbd 100755 --- a/e2e_tests/run-e2e-tests.sh +++ b/e2e_tests/run-e2e-tests.sh @@ -74,17 +74,17 @@ check_health_endpoint() { run_tests() { echo "Running test command..." cd "$TEST_DIR" - go test --tags=e2e -v ./... -count=1 - TEST_RESULT=$? +# go test --tags=e2e -v ./... -count=1 +# TEST_RESULT=$? + mosquitto_sub -p 1884 -t 'everest_external/nodered/1/state/state_string' docker-compose logs cd "$CSMS_DIR" docker-compose logs - go test --tags=e2e -v ./... -count=1 - if [ $TEST_RESULT -eq 0 ]; then - echo "Tests completed successfully" - else - echo "Tests failed" - fi +# if [ $TEST_RESULT -eq 0 ]; then +# echo "Tests completed successfully" +# else +# echo "Tests failed" +# fi stop_docker_compose_for_everest stop_docker_compose_for_maeve_csms