Skip to content

Commit 0ace657

Browse files
committed
Merge branch 'fix/version-java-owlbot-yaml' of https://github.com/googleapis/google-cloud-java into fix/version-java-owlbot-yaml
2 parents 64962c0 + ab85289 commit 0ace657

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

  • java-bigquery/google-cloud-bigquery/src/test/java/com/google/cloud/bigquery/it

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4732,7 +4732,13 @@ void testLocationFastSQLQueryWithJobId() throws InterruptedException {
47324732
// Use `getNumDmlAffectedRows()` for DML operations
47334733
Job queryJob = bigquery.getJob(result.getJobId());
47344734
queryJob = queryJob.waitFor();
4735+
assertNull(
4736+
queryJob.getStatus().getError(),
4737+
"Job failed with error: " + queryJob.getStatus().getError());
4738+
47354739
JobStatistics.QueryStatistics statistics = queryJob.getStatistics();
4740+
assertNotNull(
4741+
statistics.getNumDmlAffectedRows(), "DML affected rows statistics should not be null");
47364742
assertEquals(1L, statistics.getNumDmlAffectedRows().longValue());
47374743

47384744
// Verify correctness of table content

0 commit comments

Comments
 (0)