diff --git a/google-cloud-bigquery/src/test/java/com/google/cloud/bigquery/it/ITBigQueryTest.java b/google-cloud-bigquery/src/test/java/com/google/cloud/bigquery/it/ITBigQueryTest.java index 9f877cf23..c8f7ce4fa 100644 --- a/google-cloud-bigquery/src/test/java/com/google/cloud/bigquery/it/ITBigQueryTest.java +++ b/google-cloud-bigquery/src/test/java/com/google/cloud/bigquery/it/ITBigQueryTest.java @@ -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())