Merge pull request #3983 from taosdata/hotfix/test

[add proxy for go]
This commit is contained in:
Shengliang Guan 2020-10-24 13:54:01 +08:00 committed by GitHub
commit 6e1ec9f64c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

3
tests/gotest/batchtest.bat Normal file → Executable file
View File

@ -7,6 +7,9 @@ set serverPort=%2
if "%severIp%"=="" (set severIp=127.0.0.1)
if "%serverPort%"=="" (set serverPort=6030)
go env -w GO111MODULE=on
go env -w GOPROXY=https://goproxy.io,direct
cd case001
case001.bat %severIp% %serverPort%

3
tests/gotest/batchtest.sh Normal file → Executable file
View File

@ -13,6 +13,9 @@ if [ ! -n "$serverPort" ]; then
serverPort=6030
fi
go env -w GO111MODULE=on
go env -w GOPROXY=https://goproxy.io,direct
bash ./case001/case001.sh $severIp $serverPort
#bash ./case002/case002.sh $severIp $serverPort
#bash ./case003/case003.sh $severIp $serverPort