Skip to content

Commit 91025d2

Browse files
authored
Merge pull request #9189 from drmingdrmer/30-fixup
chore(testing): wait a second to let cluster formation complete
2 parents 4df0031 + 3af8a71 commit 91025d2

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

scripts/ci/deploy/databend-query-cluster-3-nodes.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,21 @@ echo 'Start Meta service HA cluster(3 nodes)...'
3030
nohup ./target/${BUILD_PROFILE}/databend-meta -c scripts/ci/deploy/config/databend-meta-node-1.toml &
3131
python3 scripts/ci/wait_tcp.py --timeout 10 --port 9191
3232

33+
# wait for cluster formation to complete.
34+
sleep 1
35+
3336
nohup ./target/${BUILD_PROFILE}/databend-meta -c scripts/ci/deploy/config/databend-meta-node-2.toml &
3437
python3 scripts/ci/wait_tcp.py --timeout 10 --port 28202
3538

39+
# wait for cluster formation to complete.
40+
sleep 1
41+
3642
nohup ./target/${BUILD_PROFILE}/databend-meta -c scripts/ci/deploy/config/databend-meta-node-3.toml &
3743
python3 scripts/ci/wait_tcp.py --timeout 10 --port 28302
3844

45+
# wait for cluster formation to complete.
46+
sleep 1
47+
3948
echo 'Start databend-query node-1'
4049
env "RUST_BACKTRACE=1" nohup target/${BUILD_PROFILE}/databend-query -c scripts/ci/deploy/config/databend-query-node-1.toml &
4150

0 commit comments

Comments
 (0)