Skip to content

Commit

Permalink
add hosts before ut (#26)
Browse files Browse the repository at this point in the history
* add hosts before ut

* format compose
  • Loading branch information
Nicole00 authored Dec 21, 2021
1 parent 04a27f5 commit fe32819
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions nebula-spark-connector/src/test/resources/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,21 @@ services:
cap_add:
- SYS_PTRACE

console:
image: vesoft/nebula-console:nightly
entrypoint: ""
command:
- sh
- -c
- |
sleep 3 &&
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
depends_on:
- graphd0
networks:
- nebula-net

networks:
nebula-net:
ipam:
Expand Down

0 comments on commit fe32819

Please sign in to comment.