Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

fix: Conformance test sample rowkeys generic deadline - #1562

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

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

Conversation

@kevkim-codes

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

Copy link
Copy Markdown
Contributor

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 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
Copy Markdown
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

@danieljbruce danieljbruce left a comment

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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
@kevkim-codes
kevkim-codes deleted the samplerowkeys-genericdeadline branch January 7, 2025 16:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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