Skip to content

Commit

Permalink
Merge pull request #625 from mziccard/master
Browse files Browse the repository at this point in the history
Fix failing bigquery ITs due to missing queryPlan
  • Loading branch information
aozarov committed Feb 5, 2016
2 parents cdec697 + 3f39ab2 commit d2dbd99
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 d2dbd99

Please sign in to comment.