Update test/docker_tests/configurations/test_all_docker_composes.sh

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
Adam Outler
2025-11-01 14:57:57 -04:00
committed by GitHub
parent 51aa3d4a2e
commit 2a9d352322

View File

@@ -45,10 +45,10 @@ run_test() {
echo "Directory: $dirname" >> "$LOG_FILE"
echo "" >> "$LOG_FILE"
echo "Running docker-compose up..." >> "$LOG_FILE"
timeout 10s docker-compose -f "$basename" up 2>&1 >> "$LOG_FILE"
timeout 10s docker-compose -f "$file" up 2>&1 >> "$LOG_FILE"
# Clean up
docker-compose -f "$basename" down -v 2>/dev/null || true
docker-compose -f "$file" down -v 2>/dev/null || true
docker volume prune -f 2>/dev/null || true
find "$SCRIPT_DIR" -name "docker-compose*.yml" -type f -print0 | sort -z | while IFS= read -r -d '' file; do