Skip to content

Commit

Permalink
Improve test case for database dump (#454)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgruner authored Jan 10, 2025
1 parent 6b43a9a commit a4c6f48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 :)"

0 comments on commit a4c6f48

Please sign in to comment.