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

Add mocha retries to testing suite for samples #1299

@loferris

Description

@loferris

Thanks for stopping by to let us know something could be better!

Is your feature request related to a problem? Please describe.
Due to transient service issues, CI tests for samples in this repo are flaky, which creates issues that are not actionable.
Describe the solution you'd like
I think we should leverage our current testing framework and add mocha retries at the level of each test suite.
Describe alternatives you've considered
I considered writing our own retry logic, as well as adding retries to all tests that are async functions. I also contemplated changing the testing framework.
Additional context
This issue accompanies a PR that adds mocha retries to the sample tests.

Metadata

Metadata

Assignees

Labels

api: bigqueryIssues related to the googleapis/nodejs-bigquery API.priority: p3Desirable enhancement or fix. May not be included in next release.samplesIssues that are directly related to samples.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions