commit | 2064352ffd5c10e6df4fea4aeffc124d7c508a75 | [log] [tgz] |
---|---|---|
author | Nicolas Lacasse <nlacasse@google.com> | Wed Jun 08 15:17:24 2016 -0700 |
committer | Nicolas Lacasse <nlacasse@google.com> | Wed Jun 08 15:17:38 2016 -0700 |
tree | fd93fb391cbdbc507e4a1af9562d1de39038b2c0 | |
parent | 7a4c5398bb7a1badefd6a2380b4c8587afac682e [diff] |
TBR: longevity tests: retry syncgroup join forever. Change-Id: Ie9149a4a8a10f1ad8617e055f6ddfd2705efe580
diff --git a/services/syncbase/longevity_tests/client/util.go b/services/syncbase/longevity_tests/client/util.go index 0fc49d1..c4351e8 100644 --- a/services/syncbase/longevity_tests/client/util.go +++ b/services/syncbase/longevity_tests/client/util.go
@@ -88,7 +88,7 @@ // TODO(nlacasse): Parameterize number of retries. Exponential // backoff? var joinErr error - for i := 0; i < 10; i++ { + for { _, joinErr = sg.Join(ctx, sgModel.HostDevice.Name, nil, wire.SyncgroupMemberInfo{}) if joinErr == nil { syncgroups = append(syncgroups, sg)