From 76e15c3064909ec3e8a5cf896985d75e664ede7d Mon Sep 17 00:00:00 2001 From: Chris Banks Date: Mon, 22 Jan 2024 15:29:09 +0000 Subject: [PATCH] Fix builds hanging on test MongoDB startup. D'oh. Fixes #421. --- .github/workflows/ci.yml | 1 + mongo.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a7d7637c..a627fe3e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,6 +23,7 @@ jobs: go-version-file: go.mod - run: make unit_tests - run: make integration_tests + timeout-minutes: 15 env: ROUTER_MONGO_URL: 127.0.0.1 golangci-lint: diff --git a/mongo.sh b/mongo.sh index 44d17133..28e7dd0a 100755 --- a/mongo.sh +++ b/mongo.sh @@ -39,6 +39,7 @@ retry_or_fatal() { return fi sleep 1 && echo -n . + n=$((n-1)) done echo "gave up" exit 1