Skip to content

Commit

Permalink
Randomly generating new dataset for offline_online_store_consistency …
Browse files Browse the repository at this point in the history
…test so test not broken for people who don't have admin privileges on BQ project (#1818)

Signed-off-by: Danny Chiao <[email protected]>
  • Loading branch information
adchia authored Aug 31, 2021
1 parent e895bc4 commit d40636d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 = (
Expand Down

0 comments on commit d40636d

Please sign in to comment.