From 033a9b783d7fee25bda827be9a6da7b4c3eb3149 Mon Sep 17 00:00:00 2001 From: Danny Chiao Date: Tue, 31 Aug 2021 13:39:37 -0400 Subject: [PATCH] Randomly generating new dataset for offline_online_store_consistency test so test not broken for people who don't have admin privileges on BQ project Signed-off-by: Danny Chiao --- .../materialization/test_offline_online_store_consistency.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/python/tests/integration/materialization/test_offline_online_store_consistency.py b/sdk/python/tests/integration/materialization/test_offline_online_store_consistency.py index e97f7d0d84..3eac9073db 100644 --- a/sdk/python/tests/integration/materialization/test_offline_online_store_consistency.py +++ b/sdk/python/tests/integration/materialization/test_offline_online_store_consistency.py @@ -37,7 +37,7 @@ def prep_bq_fs_and_fv( ) -> Iterator[Tuple[FeatureStore, FeatureView]]: client = bigquery.Client() gcp_project = client.project - bigquery_dataset = "test_ingestion" + bigquery_dataset = f"test_ingestion{time.time_ns()}" dataset = bigquery.Dataset(f"{gcp_project}.{bigquery_dataset}") client.create_dataset(dataset, exists_ok=True) dataset.default_table_expiration_ms = (