batchtest.sh 412 字节
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 20 21
bash ./case001/case001.sh $severIp $serverPort
#bash ./case002/case002.sh $severIp $serverPort
#bash ./case003/case003.sh $severIp $serverPort