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

test(bigquery): make policy tag setup use unique display names #5846

Merged
merged 1 commit into from Apr 4, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion bigquery/integration_test.go
Expand Up @@ -1130,7 +1130,8 @@ func setupPolicyTag(ctx context.Context) (string, func(), error) {
req := &datacatalogpb.CreateTaxonomyRequest{
Parent: fmt.Sprintf("projects/%s/locations/%s", testutil.ProjID(), location),
Taxonomy: &datacatalogpb.Taxonomy{
DisplayName: "google-cloud-go bigquery testing taxonomy",
// DisplayName must be unique across org.
DisplayName: fmt.Sprintf("google-cloud-go bigquery testing taxonomy %d", time.Now().UnixNano()),
Description: "Taxonomy created for google-cloud-go integration tests",
ActivatedPolicyTypes: []datacatalogpb.Taxonomy_PolicyType{
datacatalogpb.Taxonomy_FINE_GRAINED_ACCESS_CONTROL,
Expand Down