Retry GCE client creation.

This commit is contained in:
Prashanth Balasubramanian 2016-03-28 18:15:42 -07:00
parent 8d59739bb1
commit 73afef4bec
3 changed files with 54 additions and 12 deletions

View file

@ -137,7 +137,7 @@ func TestBackendPoolSync(t *testing.T) {
// Repopulate the pool with a cloud list, which now includes the 82 port
// backend. This would happen if, say, an ingress backend is removed
// while the controller is restarting.
pool.(*Backends).snapshotter.(*storage.CloudListingPool).ReplinishPool()
pool.(*Backends).snapshotter.(*storage.CloudListingPool).ReplenishPool()
pool.GC(svcNodePorts)