Skip to content

Commit

Permalink
Increase timeout, add debug for test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Miklos Bagi committed Feb 29, 2024
1 parent f969cb9 commit 00aaf0a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ test-run-sonar:
-Dsonar.host.url=https://sonarcloud.io

test-run-all:
@test/run-smoke.sh && echo "✅ All smoke tests pass." || (echo "❌ Smoke tests failed." && exit 1)
@test/run-smoke.sh && echo "✅ All smoke tests pass." || (echo "❌ Smoke tests failed." && \
$(DOCKER_COMPOSE_CMD) logs gluetrans | tail -n 100; \
exit 1)

.PHONY: all build lint release-dev release-latest release-version test test-env-start test-env-stop test-run-all
2 changes: 1 addition & 1 deletion test/run-smoke.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ get_hash() {
echo "Running tests..."

# Active Gluetun is detected
TIMEOUT=90
TIMEOUT=120
assert_keyword "Active gluetun is detected" "gluetun is active, country details"
get_hash "$docker_logs"

Expand Down

0 comments on commit 00aaf0a

Please sign in to comment.