Skip to content

Commit 89b729d

Browse files
Apply suggestion from @gemini-code-assist[bot]
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 63aa302 commit 89b729d

File tree

1 file changed

+2
-0
lines changed
  • java-bigquery/google-cloud-bigquery/src/test/java/com/google/cloud/bigquery/it

1 file changed

+2
-0
lines changed

java-bigquery/google-cloud-bigquery/src/test/java/com/google/cloud/bigquery/it/ITBigQueryTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7895,6 +7895,8 @@ public void testOpenTelemetryTracingQuery() throws InterruptedException {
78957895
assertNotNull(tableResult.getJobId());
78967896
assertEquals(tableResult.getQueryId(), tableResult.getJobId().getJob());
78977897
assertEquals(JobCreationReason.Code.OTHER, tableResult.getJobCreationReason().getCode());
7898+
} else {
7899+
assertNull(tableResult.getJobId());
78987900
}
78997901

79007902
assertNotNull(OTEL_ATTRIBUTES.get("com.google.cloud.bigquery.BigQuery.queryRpc"));

0 commit comments

Comments
 (0)