Skip to content

Commit d6047de

Browse files
committed
---
yaml --- r: 6925 b: refs/heads/tswast-patch-1 c: f920986 h: refs/heads/master i: 6923: b54696f
1 parent ec29ace commit d6047de

2 files changed

Lines changed: 8 additions & 9 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,5 @@ refs/tags/v0.18.0: 9d193c4c4b9d1c6f21515dd8e50836b9194ec9bb
5757
refs/tags/v0.19.0: e67b56e4d8dad5f9a7b38c9b2107c23c828f2ed5
5858
refs/tags/v0.20.0: 839f7fb7156535146aa1cb2c5aadd8d375d854e8
5959
refs/tags/v0.20.1: 370471f437f1f4f68a11e068df5cd6bf39edb1fa
60-
refs/heads/tswast-patch-1: 8fb9e91306d5c215fe3dd56db161771e85fb9534
60+
refs/heads/tswast-patch-1: f9209861f644541c5e8c88a575b37f20da727324
6161
refs/heads/pubsub-streaming-pull: 19262b752ee874eb2ca3b950eb2aef44d5a5267b

branches/tswast-patch-1/gcloud-java-bigquery/src/test/java/com/google/gcloud/bigquery/it/ITBigQueryTest.java

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
import com.google.gcloud.bigquery.InsertAllResponse;
5151
import com.google.gcloud.bigquery.Job;
5252
import com.google.gcloud.bigquery.JobInfo;
53+
import com.google.gcloud.bigquery.JobStatistics;
5354
import com.google.gcloud.bigquery.LoadJobConfiguration;
5455
import com.google.gcloud.bigquery.QueryJobConfiguration;
5556
import com.google.gcloud.bigquery.QueryRequest;
@@ -683,10 +684,9 @@ public void testQuery() throws InterruptedException {
683684
rowCount++;
684685
}
685686
assertEquals(2, rowCount);
686-
// todo(mziccard) uncomment as soon as #624 is closed
687-
// Job queryJob = bigquery.getJob(response.jobId());
688-
// JobStatistics.QueryStatistics statistics = queryJob.statistics();
689-
// assertNotNull(statistics.queryPlan());
687+
Job queryJob = bigquery.getJob(response.jobId());
688+
JobStatistics.QueryStatistics statistics = queryJob.statistics();
689+
assertNotNull(statistics.queryPlan());
690690
}
691691

692692
@Test
@@ -851,10 +851,9 @@ public void testQueryJob() throws InterruptedException {
851851
}
852852
assertEquals(2, rowCount);
853853
assertTrue(bigquery.delete(DATASET, tableName));
854-
// todo(mziccard) uncomment as soon as #624 is closed
855-
// Job queryJob = bigquery.getJob(remoteJob.jobId());
856-
// JobStatistics.QueryStatistics statistics = queryJob.statistics();
857-
// assertNotNull(statistics.queryPlan());
854+
Job queryJob = bigquery.getJob(remoteJob.jobId());
855+
JobStatistics.QueryStatistics statistics = queryJob.statistics();
856+
assertNotNull(statistics.queryPlan());
858857
}
859858

860859
@Test

0 commit comments

Comments
 (0)