-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
fix: Conformance test sample rowkeys generic deadline #1562
fix: Conformance test sample rowkeys generic deadline #1562
Conversation
test: Make the ReadRows service in tests more modular (googleapis#1462)
…nodejs-bigtable into samplerowkey-genericheader
…amplerowkeys-genericdeadline
Merge-on-green attempted to merge your PR for 6 hours, but it was not mergeable because either one of your required status checks failed, one of your required reviews was not approved, or there is a do not merge label. Learn more about your required status checks here: https://help.github.com/en/github/administering-a-repository/enabling-required-status-checks. You can remove and reapply the label to re-run the bot. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good for meeting the needs of the tests. We may want to add retry behaviour to sampleRowKeys at some point.
}; | ||
|
||
const table = getTableInfo(client, tableName); | ||
const sampleRowKeysResponse = table.sampleRowKeys(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this may actually need await
before table.sampleRowKeys()
.
Fixes generic deadline issue for sample rowkeys method. We were not handling for deadline exceeded errors in the original method as we were expecting GAX to handle it. Hopefully, down the road we will have GAX handle these at a parent level and send back the proper error code.