Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BigQuery: Fix BigQuery client unit test assertions #9112

Merged
merged 1 commit into from
Aug 27, 2019

Conversation

plamut
Copy link
Contributor

@plamut plamut commented Aug 27, 2019

As of today I noticed that BigQuery unit tests fail on the latest master branch. Ditto for several less recent commits that I tried.

The reason is that HTTP requests now contain a timeout=(61, 60) argument, thus the affected assertions had to be updated. I opted for the mock.ANY value, because the exact timeout is not significant in the tests. However, please let me know if a concrete value should be used instead.

Since a timeout argument is now sent with HTTP requests by default,
the call assertions need adjustment.
@plamut plamut added the api: bigquery Issues related to the BigQuery API. label Aug 27, 2019
@plamut plamut requested a review from a team August 27, 2019 15:04
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Aug 27, 2019
@tswast tswast merged commit 0782408 into googleapis:master Aug 27, 2019
@plamut plamut deleted the fix-bq-client-tests branch August 28, 2019 10:22
HemangChothani pushed a commit to HemangChothani/google-cloud-python that referenced this pull request Aug 29, 2019
Since a timeout argument is now sent with HTTP requests by default,
the call assertions need adjustment.
emar-kar pushed a commit to MaxxleLLC/google-cloud-python that referenced this pull request Sep 18, 2019
Since a timeout argument is now sent with HTTP requests by default,
the call assertions need adjustment.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquery Issues related to the BigQuery API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants