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

fix: update check on mutateRows RPC status #224

Merged
merged 2 commits into from
Dec 17, 2024

Conversation

mutianf
Copy link
Collaborator

@mutianf mutianf commented Dec 17, 2024

This test is testing the following behavior:

  1. client sends a mutateRows request with 2 second deadline
  2. Server hangs for 10 seconds
  3. Client deadline passes and the request failed with deadline exceeded error.

In this case the RPC should fail with DEADLINE_EXCEEDED and the entries should fail with deadline exceeded too. Therefore this check is incorrect and test-proxy implementations (for example java) populates a fake status code https://github.com/googleapis/java-bigtable/blob/main/test-proxy/src/main/java/com/google/cloud/bigtable/testproxy/CbtTestProxy.java#L331.

Update the check to reflect expected client behavior. Note that test proxy needs to be updated after this is merged.

@mutianf mutianf merged commit fcd52d0 into googleapis:main Dec 17, 2024
2 checks passed
@mutianf mutianf deleted the remove-check branch December 17, 2024 21:59
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 this pull request may close these issues.

2 participants