New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to test end to end configuration options #1311
Comments
Can we run gapic-generator on showcase within this repo so we can test against the showcase client? |
I'm not sure if showcase supports (testing config options) or if that is something that we can implement it. @miraleung , any thoughts? |
@chingor13 Could you please provide more detail, ideally with a client lib such as dataproc so we can go over concrete examples? This would help us better understand where the codegen gap lies, and the motivating use case. Note that we will likely skip adding this to gapic-generator, and just add it directly to gapic-generator-java as the Gapic class generation logic will be coming soon. |
@summer-ji-eng is adding a feature to override the quotaProjectId ( Ideally, we can have these tests live in the gax repo as it's really testing gax, but it needs a generated client. |
Code that glues ClientSettings to the ClientContext is generated by gapic generator making it difficult to test that configuration options make it to the transport layer.
Can we generate a test client where we can mock out the transport for testing purposes?
The text was updated successfully, but these errors were encountered: