client: introduce circuit breaker for region calls #8856
80.80% of diff hit (target 76.21%)
View this Pull Request on Codecov
80.80% of diff hit (target 76.21%)
Annotations
Check warning on line 98 in client/circuitbreaker/circuit_breaker.go
codecov / codecov/patch
client/circuitbreaker/circuit_breaker.go#L89-L98
Added lines #L89 - L98 were not covered by tests
Check warning on line 144 in client/circuitbreaker/circuit_breaker.go
codecov / codecov/patch
client/circuitbreaker/circuit_breaker.go#L142-L144
Added lines #L142 - L144 were not covered by tests
Check warning on line 179 in client/circuitbreaker/circuit_breaker.go
codecov / codecov/patch
client/circuitbreaker/circuit_breaker.go#L178-L179
Added lines #L178 - L179 were not covered by tests
Check warning on line 211 in client/circuitbreaker/circuit_breaker.go
codecov / codecov/patch
client/circuitbreaker/circuit_breaker.go#L210-L211
Added lines #L210 - L211 were not covered by tests
Check warning on line 265 in client/circuitbreaker/circuit_breaker.go
codecov / codecov/patch
client/circuitbreaker/circuit_breaker.go#L263-L265
Added lines #L263 - L265 were not covered by tests
Check warning on line 289 in client/circuitbreaker/circuit_breaker.go
codecov / codecov/patch
client/circuitbreaker/circuit_breaker.go#L288-L289
Added lines #L288 - L289 were not covered by tests
Check warning on line 300 in client/circuitbreaker/circuit_breaker.go
codecov / codecov/patch
client/circuitbreaker/circuit_breaker.go#L299-L300
Added lines #L299 - L300 were not covered by tests
Check warning on line 466 in client/client.go
codecov / codecov/patch
client/client.go#L461-L466
Added lines #L461 - L466 were not covered by tests
Check warning on line 158 in client/opt/option.go
codecov / codecov/patch
client/opt/option.go#L157-L158
Added lines #L157 - L158 were not covered by tests
Check warning on line 219 in client/opt/option.go
codecov / codecov/patch
client/opt/option.go#L216-L219
Added lines #L216 - L219 were not covered by tests