Files
configuration/ci/wait-up.sh
2023-10-25 09:09:45 +02:00

13 lines
218 B
Bash

#!/bin/bash
testlog() {
docker logs v3-redis | grep -q "Ready to accept connections"
}
testlog 2> /dev/null
while [ $? -ne 0 ];
do
sleep 5
echo "Waiting for Test Redis to be up..."
testlog 2> /dev/null
done