Skip to content

Commit 166512b

Browse files
authored
add unique string to dlp infotype tests
These tests compete for the same resource when there are multiple concurrent test runs. This leads to flaky tests as seen on #10222
1 parent 6c5de4d commit 166512b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dlp/snippets/stored_infotype_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
TEST_BUCKET_NAME = GCLOUD_PROJECT + "-dlp-python-client-test" + UNIQUE_STRING
3030
RESOURCE_DIRECTORY = os.path.join(os.path.dirname(__file__), "resources")
3131
RESOURCE_FILE_NAMES = ["term_list.txt"]
32-
STORED_INFO_TYPE_ID = "github-usernames"
32+
STORED_INFO_TYPE_ID = "github-usernames" + UNIQUE_STRING
3333

3434
DLP_CLIENT = google.cloud.dlp_v2.DlpServiceClient()
3535

0 commit comments

Comments
 (0)