We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 872a6f1 commit c2bccd0Copy full SHA for c2bccd0
test/kokoro/xds.sh
@@ -13,7 +13,13 @@ shopt -s extglob
13
branch="${branch//[[:space:]]}"
14
branch="${branch##remotes/origin/}"
15
shopt -u extglob
16
-go build
+# Install a version of Go supported by gRPC for the new features, e.g.
17
+# errors.Is()
18
+curl --retry 3 -O -L https://go.dev/dl/go1.17.3.linux-amd64.tar.gz
19
+sudo tar -C /usr/local -xf go1.17.3.linux-amd64.tar.gz
20
+sudo ln -s /usr/local/go/bin/go /usr/bin/go
21
+# Retry go build on errors (e.g. go get connection errors), for at most 3 times
22
+for i in 1 2 3; do go build && break || sleep 5; done
23
popd
24
25
git clone -b "${branch}" --single-branch --depth=1 https://github.com/grpc/grpc.git
0 commit comments