Skip to content
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

Add Bigtable Client Conformance Tests #25682

Closed
meagar opened this issue Apr 16, 2024 · 1 comment · Fixed by #25680
Closed

Add Bigtable Client Conformance Tests #25682

meagar opened this issue Apr 16, 2024 · 1 comment · Fixed by #25680
Assignees

Comments

@meagar
Copy link
Contributor

meagar commented Apr 16, 2024

The Bigtable team maintains a suite of language-independent "conformance tests", which verify some common edge-cases behave correctly across all of the Bigtable clients.

We would like to add conformance tests for the Ruby client. This is accomplished by authoring a thin proxy, which implements the CloudBigtableV2TestProxy service. The goal of the proxy is to idiomatically use the client library to handle the requests it receives, not to jump through hoops to make the tests pass; in this way, we can verify the idiomatic library use produces correct results.

The tests themselves are implemented in Go in https://github.com/googleapis/cloud-bigtable-clients-test. These tests spawn a mock Bigtable instance, so that the test runner can verify correctness both in the proxy's responses, but also in the client's outbound calls to Bigtable itself.

@meagar
Copy link
Contributor Author

meagar commented Apr 16, 2024

Apologies, I'm backfilling this issue, the work has already been done in #25680 before I realized all PRs should have an issue assigned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants