Uh oh!
There was an error while loading. Please reload this page.
chore(bigquery-jdbc): update integration tests to handle different cancellation - #13541
Conversation
There was a problem hiding this comment.
Code Review
This pull request updates integration tests for the BigQuery JDBC driver. In ITNightlyBigQueryTest, the sleep duration before cancellation is increased to 15 seconds to ensure the job is in the appropriate state, and a debug print statement is added. In ITStatementTest, the expected exception message for a timed-out query is updated. Feedback suggests removing the leftover System.out.println debugging statement and refactoring the try-catch block in ITStatementTest to use assertThrows to ensure the test fails if no exception is thrown.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Due to 64cde7f now
jobs.queryAPI is used even if we request job creation (Previously it falls back tojobs.insert). Due to this, updating integration test with new error/timeout values.