Skip to content

test: Better factoring and generate instance id for close test#1675

Merged
gcf-merge-on-green[bot] merged 3 commits intomainfrom
close-client-system-test-fix
Aug 12, 2025
Merged

test: Better factoring and generate instance id for close test#1675
gcf-merge-on-green[bot] merged 3 commits intomainfrom
close-client-system-test-fix

Conversation

@danieljbruce
Copy link
Contributor

Description

Every once in a while the close client test acts up. It says the instance has already been created. This PR may fix this flakey test and if not at the very least it will make sure two running system tests don't interfere with one another.

Impact

Less Flakey tests

Testing

Test changed to be less Flakey

@danieljbruce danieljbruce requested a review from a team August 7, 2025 19:53
@danieljbruce danieljbruce requested a review from a team as a code owner August 7, 2025 19:53
@product-auto-label product-auto-label bot added size: xs Pull request size is extra small. api: bigtable Issues related to the googleapis/nodejs-bigtable API. labels Aug 7, 2025

describe('createReadStream', () => {
const INSTANCE = bigtable.instance('instance');
const TABLE = INSTANCE.table('table');
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change is just better factoring. These two variables are only used in this block so should not be mixed with the other test to create confusion.

@danieljbruce danieljbruce changed the title test: Better factoring and generate instance id test: Better factoring and generate instance id for close test Aug 7, 2025
@danieljbruce danieljbruce added the automerge Merge the pull request once unit tests and other checks pass. label Aug 12, 2025
@gcf-merge-on-green gcf-merge-on-green bot merged commit 96533f3 into main Aug 12, 2025
21 of 23 checks passed
@gcf-merge-on-green gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label Aug 12, 2025
@gcf-merge-on-green gcf-merge-on-green bot deleted the close-client-system-test-fix branch August 12, 2025 14:58
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. size: xs Pull request size is extra small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants