Commit bfae6740 authored by Ryan Hitchman's avatar Ryan Hitchman

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.
parent 7747f5ee
......@@ -39,7 +39,8 @@ export LOG_LEVEL=4
cd /go/src/k8s.io/kubernetes
# 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
make verify
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment