Skip to content
This repository was archived by the owner on Nov 12, 2025. It is now read-only.

Commit 8479457

Browse files
committed
add comment
1 parent 8547ff0 commit 8479457

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

samples/conftest.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ def dataset(project_id):
2929
from google.cloud import bigquery
3030

3131
client = bigquery.Client()
32+
33+
# Add a random suffix to dataset name to avoid conflict, because we run
34+
# a samples test on each supported Python version almost at the same time.
3235
dataset_time = datetime.datetime.now().strftime("%y%m%d_%H%M%S")
3336
suffix = f"_{(random.randint(0, 99)):02d}"
3437
dataset_name = "samples_tests_" + dataset_time + suffix

0 commit comments

Comments
 (0)