Skip to content

Commit

Permalink
Merge pull request #439 from alphagov/sengi/test-setup-timeout
Browse files Browse the repository at this point in the history
Increase timeout for Mongo setup in tests.
  • Loading branch information
sengi authored Mar 5, 2024
2 parents 7d83bce + 6e8df5a commit ac25e10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mongo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ healthy() {

# usage: retry_or_fatal description command-to-try
retry_or_fatal() {
n=10
n=20
echo -n "Waiting up to $n s for $1"; shift
while [ "$n" -ge 0 ]; do
if "$@"; then
Expand Down

0 comments on commit ac25e10

Please sign in to comment.