aboutsummaryrefslogtreecommitdiff
path: root/scripts/testing/run-test.sh
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-25 08:35:28 -0400
committerCraig Jennings <c@cjennings.net>2026-06-25 08:35:28 -0400
commitfbff2ea28a15f07faa46124af7805051a86118a7 (patch)
treebc87e000c91e9fb97c917e4b50f1a24ff63ba1e6 /scripts/testing/run-test.sh
parent4dc75e6ce9871f20ffbe74fc35b31cd121809a0c (diff)
downloadarchsetup-fbff2ea28a15f07faa46124af7805051a86118a7.tar.gz
archsetup-fbff2ea28a15f07faa46124af7805051a86118a7.zip
fix(testing): raise the install monitor timeout to 150 minutes
A full archsetup install with heavy AUR builds (vagrant and its git-cloned installers) can run past the old 90-minute monitor cap on a slow mirror. When that happened the run stopped monitoring mid-install and validated a half-installed system, producing spurious late-step failures. Raise MAX_POLLS from 180 to 300 (90 -> 150 minutes) so a slow-but-healthy install completes.
Diffstat (limited to 'scripts/testing/run-test.sh')
-rwxr-xr-xscripts/testing/run-test.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/testing/run-test.sh b/scripts/testing/run-test.sh
index 6e51fc2..a22ae98 100755
--- a/scripts/testing/run-test.sh
+++ b/scripts/testing/run-test.sh
@@ -249,7 +249,8 @@ fi
# Poll for completion
step "Monitoring archsetup progress (polling every 30 seconds)..."
POLL_COUNT=0
-MAX_POLLS=180 # 90 minutes max (180 * 30 seconds)
+MAX_POLLS=300 # 150 minutes max (300 * 30 seconds); a full install with heavy
+ # AUR builds (e.g. vagrant) can exceed 90 min on a slow mirror
while [ $POLL_COUNT -lt $MAX_POLLS ]; do
# Check if archsetup process is still running
@@ -270,7 +271,7 @@ while [ $POLL_COUNT -lt $MAX_POLLS ]; do
done
if [ $POLL_COUNT -ge $MAX_POLLS ]; then
- error "ArchSetup timed out after 90 minutes"
+ error "ArchSetup timed out after 150 minutes"
ARCHSETUP_EXIT_CODE=124
else
# Get exit code from the remote log