diff --git a/gapic-libraries-bom/pom.xml b/gapic-libraries-bom/pom.xml index 9f1174f95b72..9cbef9e2cdee 100644 --- a/gapic-libraries-bom/pom.xml +++ b/gapic-libraries-bom/pom.xml @@ -4,7 +4,7 @@ com.google.cloud gapic-libraries-bom pom - 1.85.1 + 1.85.0 Google Cloud Java BOM BOM for the libraries in google-cloud-java repository. Users should not diff --git a/java-bigquery/google-cloud-bigquery/src/test/java/com/google/cloud/bigquery/it/ITBigQueryTest.java b/java-bigquery/google-cloud-bigquery/src/test/java/com/google/cloud/bigquery/it/ITBigQueryTest.java index 70569ea15902..e8189d8829de 100644 --- a/java-bigquery/google-cloud-bigquery/src/test/java/com/google/cloud/bigquery/it/ITBigQueryTest.java +++ b/java-bigquery/google-cloud-bigquery/src/test/java/com/google/cloud/bigquery/it/ITBigQueryTest.java @@ -4732,7 +4732,10 @@ void testLocationFastSQLQueryWithJobId() throws InterruptedException { // Use `getNumDmlAffectedRows()` for DML operations Job queryJob = bigquery.getJob(result.getJobId()); queryJob = queryJob.waitFor(); + assertNull(queryJob.getStatus().getError(), "Job failed with error: " + queryJob.getStatus().getError()); + JobStatistics.QueryStatistics statistics = queryJob.getStatistics(); + assertNotNull(statistics.getNumDmlAffectedRows(), "DML affected rows statistics should not be null"); assertEquals(1L, statistics.getNumDmlAffectedRows().longValue()); // Verify correctness of table content