-
Notifications
You must be signed in to change notification settings - Fork 323
Closed
Labels
api: bigqueryIssues related to the googleapis/python-bigquery API.Issues related to the googleapis/python-bigquery API.testingtype: processA process-related concern. May include testing, release, or the like.A process-related concern. May include testing, release, or the like.
Description
Every system tests creates and destroys a temporary dataset in it's setUp and tearDown.
- Some system tests don't use the dataset created.
- Some system tests create and destroy their own datasets, seemingly oblivious that temporary datasets were already created for them.
This makes system tests take far longer than they should. ~10 minutes
Proposed fix:
- Don't create datasets by default. Make tests elect to create them.
- Move toward pytest fixtures to elect creating datasets.
- Use session fixtures to avoid creating a dataset for each test.
Metadata
Metadata
Assignees
Labels
api: bigqueryIssues related to the googleapis/python-bigquery API.Issues related to the googleapis/python-bigquery API.testingtype: processA process-related concern. May include testing, release, or the like.A process-related concern. May include testing, release, or the like.