We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77c95c3 commit ab589b3Copy full SHA for ab589b3
.circleci/wait-for-db.sh
@@ -38,10 +38,11 @@ doris_ready() {
38
probe_port 9030
39
40
echo "Checking for 3 alive Doris backends..."
41
+ sleep 15
42
43
while true; do
44
echo "Checking Doris backends..."
- ALIVE_BACKENDS=$(timeout 10 docker exec -i doris-fe-01 mysql -h127.0.0.1 -P9030 -uroot -e "show backends \G" | grep -c "^ *Alive: true$")
45
+ ALIVE_BACKENDS=$(docker exec -i doris-fe-01 mysql -h127.0.0.1 -P9030 -uroot -e "show backends \G" | grep -c "^ *Alive: true$")
46
47
# fallback value if failed to get number
48
if ! [[ "$ALIVE_BACKENDS" =~ ^[0-9]+$ ]]; then
0 commit comments