From 6e8df5a0df71783bcef4ce2bbaa20ad728dcaf31 Mon Sep 17 00:00:00 2001 From: Chris Banks Date: Tue, 5 Mar 2024 11:01:25 +0000 Subject: [PATCH] Increase timeout for Mongo setup in tests. This seems to have become flaky recently (but only on GitHub Actions), so try waiting a bit longer for MongoDB startup. Might improve #433. If not then we can dig deeper. --- mongo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mongo.sh b/mongo.sh index 28e7dd0a..fe99097b 100755 --- a/mongo.sh +++ b/mongo.sh @@ -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