Skip to content

Usage guide test leaving BQ leftovers #635

@leahecole

Description

@leahecole

Every time the samples usage_guide test runs it leaves a leftover dataset in BigQuery. This test needs to be refactored to tear down the BigQuery dataset upon test completion.

def test_sink_bigquery():
client = Client()
to_delete = []
usage_guide.sink_bigquery(client, to_delete)
for item in to_delete:
usage_guide._backoff_not_found(item.delete)

Metadata

Metadata

Assignees

Labels

api: loggingIssues related to the googleapis/python-logging API.type: cleanupAn internal cleanup or hygiene concern.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions