Skip to content

Commit

Permalink
Merge pull request #427 from alphagov/sengi/build-timeout
Browse files Browse the repository at this point in the history
Fix builds hanging on test MongoDB startup.
  • Loading branch information
sengi authored Jan 22, 2024
2 parents bbe56b6 + 76e15c3 commit d939162
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions mongo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ retry_or_fatal() {
return
fi
sleep 1 && echo -n .
n=$((n-1))
done
echo "gave up"
exit 1
Expand Down

0 comments on commit d939162

Please sign in to comment.