From e47a2bb001a3fa14801e2cac43aa0d787204a12b Mon Sep 17 00:00:00 2001 From: wenzhouwww Date: Sun, 26 Sep 2021 11:51:19 +0800 Subject: [PATCH] test: set go proxy as goproxy.cn to let CI runing --- tests/gotest/batchtest.bat | 4 ++-- tests/gotest/batchtest.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/gotest/batchtest.bat b/tests/gotest/batchtest.bat index 2a96ee31eb..f9e6f83d50 100755 --- a/tests/gotest/batchtest.bat +++ b/tests/gotest/batchtest.bat @@ -9,7 +9,7 @@ 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 +go env -w GOPROXY=https://goproxy.cn,direct cd case001 case001.bat %severIp% %serverPort% @@ -25,4 +25,4 @@ rem cd nanosupport rem nanoCase.bat :: cd nanosupport -:: nanoCase.bat \ No newline at end of file +:: nanoCase.bat diff --git a/tests/gotest/batchtest.sh b/tests/gotest/batchtest.sh index 503d77b226..046249bcf7 100755 --- a/tests/gotest/batchtest.sh +++ b/tests/gotest/batchtest.sh @@ -14,7 +14,7 @@ if [ ! -n "$serverPort" ]; then fi go env -w GO111MODULE=on -go env -w GOPROXY=https://goproxy.io,direct +go env -w GOPROXY=https://goproxy.cn,direct bash ./case001/case001.sh $severIp $serverPort bash ./case002/case002.sh $severIp $serverPort -- GitLab