Prepare calendar before running tests

This commit is contained in:
Chris Coutinho
2025-08-01 09:29:15 +02:00
parent ed270bb926
commit 0b8a3aa646
3 changed files with 57 additions and 6 deletions
+9 -2
View File
@@ -89,12 +89,19 @@ jobs:
attempt=$((attempt + 1))
if [ $attempt -ge $max_attempts ]; then
echo "Calendar app not ready after $max_attempts attempts."
# Debug output
echo "Final calendar check response:"
curl -u admin:admin -v -X PROPFIND http://localhost:8080/remote.php/dav/calendars/admin
exit 1
fi
echo "Calendar app attempt $attempt/$max_attempts: Not ready, sleeping for 3 seconds..."
sleep 3
echo "Calendar app attempt $attempt/$max_attempts: Not ready, sleeping for 5 seconds..."
sleep 5
done
echo "Calendar app is ready."
# Additional verification - wait longer for CalDAV to be fully ready
echo "Waiting additional 10 seconds for CalDAV service to stabilize..."
sleep 10
echo "All required apps are installed and ready!"