Skip to content
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

tests: fix flaky systest #232

Merged
merged 9 commits into from
Sep 2, 2020
4 changes: 3 additions & 1 deletion tests/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,9 @@ def test_delete_dataset_delete_contents_true(self):
dataset_id = _make_dataset_id("delete_table_true")
project = Config.CLIENT.project
dataset_ref = bigquery.DatasetReference(project, dataset_id)
dataset = retry_403(Config.CLIENT.create_dataset)(Dataset(dataset_ref))
dataset = retry_403(Config.CLIENT.create_dataset)(
tseaver marked this conversation as resolved.
Show resolved Hide resolved
Dataset(dataset_ref), exists_ok=True
tseaver marked this conversation as resolved.
Show resolved Hide resolved
)

table_id = "test_table"
table_arg = Table(dataset.table(table_id), schema=SCHEMA)
Expand Down