batchtest.sh 463 字节
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
go env -w GO111MODULE=on
17
go env -w GOPROXY=https://goproxy.cn,direct
H
Hui Li 已提交
18

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
22
bash ./nanosupport/nanoCase.sh $severIp $serverPort