test ci --check

This commit is contained in:
Gsk54 2023-01-10 12:04:57 +01:00
parent 5c8f0af6a9
commit 2caf8bbac6
1 changed files with 7 additions and 1 deletions

View File

@ -1,6 +1,12 @@
#!/bin/bash
while ! docker logs v3-user-db-test --tail=1 | grep -q -i "database system is ready to accept connections";
testlog() {
docker logs v3-user-db-test | grep -q "database system is ready to accept connections"
}
testlog 2> /dev/null
while [ $? -ne 0 ];
do
sleep 5
echo "Waiting for Test DB to be up..."
testlog 2> /dev/null
done