Test compose timeout option

This commit is contained in:
MaxJa4
2023-08-28 22:11:39 +02:00
parent 410a0ab898
commit 0282514b2b
15 changed files with 29 additions and 29 deletions

View File

@@ -22,9 +22,9 @@ if [ "$NUM_MESSAGES" != 0 ]; then
fi
pass "No notifications were sent when not configured."
docker compose down
docker compose down --timeout 3
NOTIFICATION_URLS="gotify://gotify/${GOTIFY_TOKEN}?disableTLS=true" docker compose up -d
NOTIFICATION_URLS="gotify://gotify/${GOTIFY_TOKEN}?disableTLS=true" docker compose up -d --timeout 3
docker compose exec backup backup
@@ -47,4 +47,4 @@ if [ "$MESSAGE_BODY" != "Backing up /tmp/test.tar.gz succeeded." ]; then
fi
pass "Custom notification body was used."
docker compose down --volumes
docker compose down --volumes --timeout 3