Skip to content

Commit

Permalink
chore: make policy tag setup use unique display names
Browse files Browse the repository at this point in the history
  • Loading branch information
stephaniewang526 committed Apr 5, 2022
1 parent 2e0e40b commit 31d9d36
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -943,7 +943,8 @@ public void testCreateAndUpdateTableWithPolicyTags() throws IOException {
.setParent(String.format("projects/%s/locations/%s", PROJECT_ID, "us"))
.setTaxonomy(
Taxonomy.newBuilder()
.setDisplayName("testing taxonomy")
// DisplayName must be unique across org
.setDisplayName(String.format("testing taxonomy %s", Instant.now().getNano()))
.setDescription("taxonomy created for integration tests")
.addActivatedPolicyTypes(PolicyType.FINE_GRAINED_ACCESS_CONTROL)
.build())
Expand Down

0 comments on commit 31d9d36

Please sign in to comment.