clientv3: Add auth retry to retry interceptor

This commit is contained in:
Joe Betz
2018-05-22 15:06:58 -07:00
committed by Gyuho Lee
parent 3130e4da1c
commit 55ef9cc1d0
3 changed files with 81 additions and 263 deletions

View File

@ -83,7 +83,7 @@ func TestDialTLSNoConfig(t *testing.T) {
// TODO: this should not be required when we set grpc.WithBlock()
if c != nil {
ctx, cancel := context.WithTimeout(context.Background(), integration.RequestWaitTimeout)
ctx, cancel := context.WithTimeout(context.Background(), 1*time.Second)
_, err = c.KV.Get(ctx, "/")
cancel()
}