Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

confused me how long could it wait for meta ready #189

Merged
merged 1 commit into from
Dec 23, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/run_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
run: |
docker-compose up -d
sleep 45
docker-compose logs console
pytest -s -v -k "not SSL and not self_signed_SSL"
docker-compose down -v
working-directory: tests
Expand Down
13 changes: 9 additions & 4 deletions tests/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -393,13 +393,18 @@ services:
console:
image: vesoft/nebula-console:nightly
entrypoint: ""
command:
command:
- sh
- -c
- |
sleep 5 &&
nebula-console -addr graphd0 -port 9669 -u root -p nebula -e 'ADD HOSTS "172.28.2.1":9779,"172.28.2.2":9779,"172.28.2.3":9779' &&
sleep 36000
for i in `seq 1 60`;do
var=`nebula-console -addr graphd0 -port 9669 -u root -p nebula -e 'ADD HOSTS "172.28.2.1":9779,"172.28.2.2":9779,"172.28.2.3":9779;'`;
if [[ $$? == 0 ]];then
break;
fi;
sleep 1;
echo "retry to add hosts.";
done && tail -f /dev/null;
depends_on:
- graphd0
networks:
Expand Down