batchtest.sh 411 字节
Newer Older
H
Hui Li 已提交
1 2
#!/bin/bash

H
Hui Li 已提交
3 4 5 6 7 8 9 10 11 12 13 14 15
echo "==== start Go connector test cases test ===="

severIp=$1
serverPort=$2

if [ ! -n "$severIp" ]; then
  severIp=127.0.0.1
fi

if [ ! -n "$serverPort" ]; then
  serverPort=6030
fi

H
Hui Li 已提交
16 17 18
go env -w GO111MODULE=on
go env -w GOPROXY=https://goproxy.io,direct

H
Hui Li 已提交
19
bash ./case001/case001.sh $severIp $serverPort
20
bash ./case002/case002.sh $severIp $serverPort
H
Hui Li 已提交
21
#bash ./case003/case003.sh $severIp $serverPort