Skip to content

fix: Conformance test sample rowkeys generic deadline#1562

Merged
kevkim-codes merged 33 commits intogoogleapis:mainfrom
kevkim-codes:samplerowkeys-genericdeadline
Jan 7, 2025
Merged

fix: Conformance test sample rowkeys generic deadline#1562
kevkim-codes merged 33 commits intogoogleapis:mainfrom
kevkim-codes:samplerowkeys-genericdeadline

Conversation

@kevkim-codes
Copy link
Contributor

@kevkim-codes kevkim-codes commented Dec 23, 2024

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.

@kevkim-codes kevkim-codes requested a review from a team as a code owner December 23, 2024 17:37
@kevkim-codes kevkim-codes requested a review from a team December 23, 2024 17:37
@product-auto-label product-auto-label bot added size: m Pull request size is medium. api: bigtable Issues related to the googleapis/nodejs-bigtable API. samples Issues that are directly related to samples. labels Dec 23, 2024
@kevkim-codes kevkim-codes added the automerge Merge the pull request once unit tests and other checks pass. label Dec 23, 2024
@gcf-merge-on-green
Copy link
Contributor

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.

@gcf-merge-on-green gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label Dec 24, 2024
@kevkim-codes kevkim-codes added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 26, 2024
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 26, 2024
Copy link
Contributor

@danieljbruce danieljbruce left a 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();
Copy link
Contributor

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().

@kevkim-codes kevkim-codes merged commit 2fdf98f into googleapis:main Jan 7, 2025
11 of 19 checks passed
@kevkim-codes kevkim-codes deleted the samplerowkeys-genericdeadline branch January 7, 2025 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: bigtable Issues related to the googleapis/nodejs-bigtable API. samples Issues that are directly related to samples. size: m Pull request size is medium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants