googleapis / googleapis/gapic-showcase

Add `fail_n_times` field to add ability to configure a request to fail x number of times before receiving a valid response

Open
#1,472 2 comments 0 reactions 0 assignees View on GitHub
priority: p3 type: feature request
Dominant language
Go
Stars
183
Forks
55
Avg merge
1d 1h
Merged PRs (30d)
8

Description

Proposal:
Add a `Showcase.Echo` RPC with a `int fail_n_times` field that initially fails n number of times before returning a valid response.

This will allow us to test the following requirement from [AIP-4235](https://google.aip.dev/client-libraries/4235) without the use of interceptors:

- `Client libraries must reuse automatically populated values for retries of the same request.`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.