Skip to content

Commit

Permalink
Fix failing bigquery ITs due to missing queryPlan
Browse files Browse the repository at this point in the history
  • Loading branch information
mziccard committed Feb 5, 2016
1 parent 4bf3796 commit 3f39ab2
Showing 1 changed file with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -654,9 +654,10 @@ public void testQuery() throws InterruptedException {
rowCount++;
}
assertEquals(2, rowCount);
Job queryJob = bigquery.getJob(response.jobId());
JobStatistics.QueryStatistics statistics = queryJob.statistics();
assertNotNull(statistics.queryPlan());
// todo(mziccard) uncomment as soon as #624 is closed
// Job queryJob = bigquery.getJob(response.jobId());
// JobStatistics.QueryStatistics statistics = queryJob.statistics();
// assertNotNull(statistics.queryPlan());
}

@Test
Expand Down Expand Up @@ -821,9 +822,10 @@ public void testQueryJob() throws InterruptedException {
}
assertEquals(2, rowCount);
assertTrue(bigquery.delete(DATASET, tableName));
Job queryJob = bigquery.getJob(remoteJob.jobId());
JobStatistics.QueryStatistics statistics = queryJob.statistics();
assertNotNull(statistics.queryPlan());
// todo(mziccard) uncomment as soon as #624 is closed
// Job queryJob = bigquery.getJob(remoteJob.jobId());
// JobStatistics.QueryStatistics statistics = queryJob.statistics();
// assertNotNull(statistics.queryPlan());
}

@Test
Expand Down

0 comments on commit 3f39ab2

Please sign in to comment.