test ci --check
This commit is contained in:
parent
5c8f0af6a9
commit
2caf8bbac6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue