bugfix:TSG-7618:自检服务中确保dns server相关程序启动在client请求之前

This commit is contained in:
fumingwei
2021-09-01 19:06:20 +08:00
parent 2881227122
commit 74149006b3
2 changed files with 3 additions and 3 deletions

View File

@@ -1 +0,0 @@
此目录是docker-compose.yml文件目录为了启动相关docker容器

View File

@@ -48,7 +48,7 @@ services:
webproc --config /etc/dnsmasq.conf -- dnsmasq --no-daemon &
tail -f /dev/null
unittest_client:
client:
image: "dign-client:latest"
container_name: "dign-client"
depends_on:
@@ -71,7 +71,8 @@ services:
- /bin/sh
- -c
- |
/root/unittest/wait-for 192.51.100.2:443 -t 60 -- echo "badssl is up"
/root/unittest/wait-for 192.51.100.2:443 -t 60 -- echo "server web is up"
/root/unittest/wait-for 192.51.100.5:8080 -t 60 -- echo "server dns is up"
ifconfig eth0 hw ether 02:42:C0:A8:FD:03
arp -i eth0 -s 192.0.2.130 02:42:c0:a8:fd:82
arp -i eth0 -s 192.0.2.131 02:42:C0:A8:FD:83