Enhance BigQuery table schema input validation#8460
Conversation
|
Hello! I am a robot. It looks like you are a community contributor. @hao-nan-li, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look. You can help make sure that review is quick by doing a self-review and by running impacted tests locally. |
|
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are. Terraform GA: Diff ( 2 files changed, 160 insertions(+), 2 deletions(-)) |
Tests analyticsTotal tests: Action takenFound 4 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccContainerAwsNodePool_BetaBasicHandWritten|TestAccBigQueryExternalDataTable_CSV_WithSchema_InvalidSchemas|TestAccBigQueryTable_invalidSchemas|TestAccComputeFirewallPolicyRule_multipleRules |
|
Rerun these tests in REPLAYING mode to catch issues
Tests failed due to non-determinism or randomness when the VCR replayed the response after the HTTP request was made. Please fix these to complete your PR. If you believe these test failures to be incorrect or unrelated to your change, or if you have any questions, please raise the concern with your reviewer.
|
|
Received an email about test failure: Do I need to do something with the provider? |
Let's re-run it. I would assume this test passed locally right? |
|
/gcbrun |
|
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are. Terraform GA: Diff ( 2 files changed, 160 insertions(+), 2 deletions(-)) |
Tests analyticsTotal tests: Action takenFound 2 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccContainerAwsNodePool_BetaBasicHandWritten|TestAccBigQueryTable_invalidSchemas |
|
Rerun these tests in REPLAYING mode to catch issues
Tests failed due to non-determinism or randomness when the VCR replayed the response after the HTTP request was made. Please fix these to complete your PR. If you believe these test failures to be incorrect or unrelated to your change, or if you have any questions, please raise the concern with your reviewer.
|
|
Seeing the same failure for my test Then there is another separate failure in |
|
I talked to my team about this, this test is more a unit test rather than an acceptance test, reason why we see that error message. I would suggest the following:
And don't worry about the other failed test, it is unrelated. |
Thank you for the guidance! Here is the local test run result: What's the difference between unit test and acceptance test? And by adding |
Thanks for sharing the log. As far as skipping the test, I think we can start with something like 366d684 to skip the VCR test. |
|
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are. Terraform GA: Diff ( 2 files changed, 162 insertions(+), 2 deletions(-)) |
Tests analyticsTotal tests: Action takenFound 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccContainerAwsNodePool_BetaBasicHandWritten |
|
|
ccbd669
into
GoogleCloudPlatform:FEATURE-BRANCH-major-release-5.0.0
* Enhance BigQuery table schema input validation * skip TestAccBigQueryTable_invalidSchemas in VCR test
…tform#8460 (GoogleCloudPlatform#8611) * add google_bigquery_table to version 5 upgrade doc for GoogleCloudPlatform#8460 * update wording --------- Co-authored-by: Stephen Lewis (Burrows) <stephenrlewis@google.com>
…tform#8460 (GoogleCloudPlatform#8611) * add google_bigquery_table to version 5 upgrade doc for GoogleCloudPlatform#8460 * update wording --------- Co-authored-by: Stephen Lewis (Burrows) <stephenrlewis@google.com>
…tform#8460 (GoogleCloudPlatform#8611) * add google_bigquery_table to version 5 upgrade doc for GoogleCloudPlatform#8460 * update wording --------- Co-authored-by: Stephen Lewis (Burrows) <stephenrlewis@google.com>
Fixes hashicorp/terraform-provider-google#14659.
If this PR is for Terraform, I acknowledge that I have:
make testandmake lintin the generated providers to ensure it passes unit and linter tests.Release Note Template for Downstream PRs (will be copied)