testcontainers.embedded-redis.1.3.source-code.redis-health.sh Maven / Gradle / Ivy
#!/usr/bin/env bash
set -eo pipefail
if ping="$(redis-cli -a $REDIS_PASSWORD ping)" && [ "$ping" = 'PONG' ]; then
exit 0
fi
exit 1 © 2015 - 2025 Weber Informatics LLC | Privacy Policy