Retry "godep restore" once in verify-dockerized.sh

This should fix #36110. The current flake rate is 0.5%, so with the
unrealistic assumption of uncorrelated flakes, a single retry will bring
it down to <0.01% flake rate.
This commit is contained in:
Ryan Hitchman 2016-11-02 17:14:08 -07:00
parent 7747f5eefd
commit bfae674093

View File

@ -39,7 +39,8 @@ export LOG_LEVEL=4
cd /go/src/k8s.io/kubernetes cd /go/src/k8s.io/kubernetes
# hack/verify-client-go.sh requires all dependencies exist in the GOPATH. # hack/verify-client-go.sh requires all dependencies exist in the GOPATH.
godep restore # the retry helps avoid flakes while keeping total time bounded.
godep restore || godep restore
./hack/install-etcd.sh ./hack/install-etcd.sh
make verify make verify