-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Bigtable emulator: Intermittently throwing "Multiple responses found for Get" #723
Comments
Thanks for test case, will take a look! |
BTW, superb repro instructions, @gabyreilly! Excellent detective work. |
@gabyreilly I can't reproduce this on my box with your test case. What platform are you using and what version of the emulator (assuming you run it via gcloud)? |
@garye - When I asked my coworkers to run the version from this test repo, it failed to start due to bad copy/paste from the old private repo, oops :) I pushed changes to https://github.com/urbanairship/bigtable-test-multiple-get We only see the failures intermittently even with the looping in the test class -- every few runs. I am running on Mac El Capitan with the following gcloud version:
My coworkers on Mac Sierra also see the failure intermittently. Another coworker on Linux can reproduce with the following specs:
Another coworker on linux could not get the test to fail in 25 runs with this version:
They then updated the emulator version to Google Cloud SDK 166.0.0 and the tests started failing for them. Thank you! |
That's very helpful, thanks a lot! |
Hi @gabyreilly, I think I have a fix for this. Would you be able to try one of these builds to see if it actually fixes your problem? https://storage.googleapis.com/cloud-bigtable-emulator/bigtable_darwin_386.tar.gz Thanks again for the test case, it made this process much easier! |
Hi @garye I ran my test class (20x) against the new emulator build on Mac & it fixed my issue. Thank you so much! |
Glad to hear that, thanks for testing it out! I'll move the change through the gcloud release process and close this issue when it's finally released. |
Fixed in the Go library but still needs a gcloud release. |
Released in gcloud 170.0.0: https://cloud.google.com/sdk/docs/release-notes |
This is an auto-generated regeneration of the gapic clients by cloud.google.com/go/internal/gapicgen. Once the corresponding genproto PR is submitted, genbot will update this PR with a newer dependency to the newer version of genproto and assign reviewers to this PR. If you have been assigned to review this PR, please: - Ensure that the version of genproto in go.mod has been updated. - Ensure that CI is passing. If it's failing, it requires your manual attention. - Approve and submit this PR if you believe it's ready to ship. Corresponding genproto PR: googleapis/go-genproto#872 Changes: feat(compute): Update Compute Engine API to revision 20220720 (#723) Source-Link: googleapis/googleapis@60a0fa7
This is an auto-generated regeneration of the gapic clients by cloud.google.com/go/internal/gapicgen. Once the corresponding genproto PR is submitted, genbot will update this PR with a newer dependency to the newer version of genproto and assign reviewers to this PR. If you have been assigned to review this PR, please: - Ensure that the version of genproto in go.mod has been updated. - Ensure that CI is passing. If it's failing, it requires your manual attention. - Approve and submit this PR if you believe it's ready to ship. Corresponding genproto PR: googleapis/go-genproto#872 Changes: feat(compute): Update Compute Engine API to revision 20220720 (#723) Source-Link: googleapis/googleapis@60a0fa7
This is an auto-generated regeneration of the gapic clients by cloud.google.com/go/internal/gapicgen. Once the corresponding genproto PR is submitted, genbot will update this PR with a newer dependency to the newer version of genproto and assign reviewers to this PR. If you have been assigned to review this PR, please: - Ensure that the version of genproto in go.mod has been updated. - Ensure that CI is passing. If it's failing, it requires your manual attention. - Approve and submit this PR if you believe it's ready to ship. Corresponding genproto PR: googleapis/go-genproto#872 Changes: feat(compute): Update Compute Engine API to revision 20220720 (#723) Source-Link: googleapis/googleapis@60a0fa7
Hi all,
We are intermittently getting this exception from the Bigtable emulator against our Java tests:
This can be reproduced with the following JUnit tests: https://github.com/urbanairship/bigtable-test-multiple-get/blob/master/src/test/java/report/BigtablePaginatorMinimalTest.java
The tests repeatedly exercise these functions against the emulator and the emulator intermittently throws the "Multiple responses found for Get" exception.
Also note: I have not been able to reproduce this issue while running only one single test function -- I only see the issue when running the test class with both functions (testAddItem() and testAddItem1()) in the same run (See https://github.com/urbanairship/bigtable-test-multiple-get/blob/89aeb47d11516a361b805921b5dfa0cd18d97e56/src/test/java/report/BigtablePaginatorMinimalTest.java#L34-L59)
Thanks for your help!
The text was updated successfully, but these errors were encountered: