From 1e76717bdf0082e5f0df37533f9348ade8a89a33 Mon Sep 17 00:00:00 2001 From: Martin Gruner Date: Fri, 10 Jan 2025 11:58:41 +0100 Subject: [PATCH] Improve test case for database dump --- .github/tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/tests.sh b/.github/tests.sh index 01b9a9c..b52c22e 100755 --- a/.github/tests.sh +++ b/.github/tests.sh @@ -56,5 +56,5 @@ print_heading "Application backup successful :)" print_heading "Check if zammad-backup created a database backup" # Check that the db dump actually has content in the .gz file to catch cases where pg_dump fails. -docker compose exec zammad-backup sh -c "find /var/tmp/zammad/ -name \"*zammad_db.psql.gz\" -size +100k | grep ." +docker compose exec zammad-backup sh -c "find /var/tmp/zammad/ -name \"*zammad_db.psql.gz\" -size +1k | grep ." print_heading "Database backup successful :)"