Skip to content

test: Move obtain test instance #1225

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

Merged
merged 10 commits into from
Jan 30, 2023

Conversation

danieljbruce
Copy link
Contributor

This PR will reduce the number of failures due to flakey tests by fixing the flakey tests.

@danieljbruce danieljbruce requested review from a team as code owners January 30, 2023 16:55
@product-auto-label product-auto-label bot added size: s Pull request size is small. api: bigtable Issues related to the googleapis/nodejs-bigtable API. labels Jan 30, 2023
@danieljbruce danieljbruce changed the title Move obtain test instance test: Move obtain test instance Jan 30, 2023

before(async () => {
const instance = await obtainTestInstance();
Copy link

Choose a reason for hiding this comment

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

This change makes more sense to me. It's a good cautionary tale that we should avoid await outside the before, after, beforeEach, afterEach blocks.

@danieljbruce danieljbruce added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 30, 2023
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 30, 2023
@danieljbruce danieljbruce added the owlbot:run Add this label to trigger the Owlbot post processor. label Jan 30, 2023
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Jan 30, 2023
@danieljbruce danieljbruce merged commit 9e1ab05 into googleapis:main Jan 30, 2023
@danieljbruce danieljbruce mentioned this pull request Feb 9, 2023
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: s Pull request size is small.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants