-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Add acceptance tests for request_timeout
#11848
Add acceptance tests for request_timeout
#11848
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
…d `google_provider_config_plugin_framework` data source
…t difference vs SDK
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
@BBBmau requesting you as reviewer as you have experience about the different defaults for SDK vs PF from the past |
request_timeout
This comment was marked as outdated.
This comment was marked as outdated.
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.
|
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Tests analyticsTotal tests: 4118 Click here to see the affected service packages
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 tests
|
🔴 Tests failed during RECORDING mode: 🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR. |
@BBBmau This PR has been waiting for review for 3 weekdays. Please take a look! Use the label |
@GoogleCloudPlatform/terraform-team @BBBmau This PR has been waiting for review for 1 week. Please take a look! Use the label |
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.
|
Tests analyticsTotal tests: 4140 Click here to see the affected service packages
Action takenFound 5 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
🔴 Tests failed during RECORDING mode: 🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR. |
@GoogleCloudPlatform/terraform-team @BBBmau This PR has been waiting for review for 2 weeks. Please take a look! Use the label |
@BBBmau could I get a review? |
@GoogleCloudPlatform/terraform-team @BBBmau This PR has been waiting for review for 3 weeks. Please take a look! Use the label |
…est.go Co-authored-by: Sarah French <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
approving after running tests locally and getting passing. Everything looks good also.
Failing tests from VCR are unrelated to the PR.
(base) ┌─(~/Dev/terraform-provider-google)─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────(mau@mau-JKDT676NCP:s018)─┐
└─(12:07:05 on main)──> envchain GCLOUD make testacc TEST=./google/fwprovider TESTARGS='-run TestAccFwProvider_request_timeout' ──(Fri,Oct18)─┘
TF_ACC=1 TF_SCHEMA_PANIC_ON_ERROR=1 go test ./google/fwprovider -v -run TestAccFwProvider_request_timeout -timeout 240m -ldflags="-X=github.com/hashicorp/terraform-provider-google/version.ProviderVersion=acc"
=== RUN TestAccFwProvider_request_timeout
=== RUN TestAccFwProvider_request_timeout/a_default_value_of_120s_is_used_when_there_are_no_user_inputs
=== RUN TestAccFwProvider_request_timeout/request_timeout_can_be_set_in_config_in_different_formats,_are_NOT_normalized_to_full-length_format
=== RUN TestAccFwProvider_request_timeout/when_request_timeout_is_set_to_an_empty_string_in_the_config_the_value_fails_validation,_as_it_is_not_a_duration
--- PASS: TestAccFwProvider_request_timeout (24.07s)
--- PASS: TestAccFwProvider_request_timeout/a_default_value_of_120s_is_used_when_there_are_no_user_inputs (8.91s)
--- PASS: TestAccFwProvider_request_timeout/request_timeout_can_be_set_in_config_in_different_formats,_are_NOT_normalized_to_full-length_format (13.40s)
--- PASS: TestAccFwProvider_request_timeout/when_request_timeout_is_set_to_an_empty_string_in_the_config_the_value_fails_validation,_as_it_is_not_a_duration (1.76s)
PASS
ok github.com/hashicorp/terraform-provider-google/google/fwprovider 25.528s
(base) ┌─(~/Dev/terraform-provider-google)─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────(mau@mau-JKDT676NCP:s018)─┐
└─(12:08:30 on main ✹ ✭)──> envchain GCLOUD make testacc TEST=./google/provider TESTARGS='-run TestAccSdkProvider_request_timeout' ──(Fri,Oct18)─┘
TF_ACC=1 TF_SCHEMA_PANIC_ON_ERROR=1 go test ./google/provider -v -run TestAccSdkProvider_request_timeout -timeout 240m -ldflags="-X=github.com/hashicorp/terraform-provider-google/version.ProviderVersion=acc"
=== RUN TestAccSdkProvider_request_timeout
=== RUN TestAccSdkProvider_request_timeout/when_request_timeout_is_set_to_an_empty_string_in_the_config_the_value_fails_validation,_as_it_is_not_a_duration
=== RUN TestAccSdkProvider_request_timeout/short_timeouts_impact_provisioning_resources
=== RUN TestAccSdkProvider_request_timeout/a_default_value_of_0s_is_used_when_there_are_no_user_inputs_(it_is_overridden_downstream)
=== RUN TestAccSdkProvider_request_timeout/request_timeout_can_be_set_in_config_in_different_formats,_are_normalized_to_full-length_format
--- PASS: TestAccSdkProvider_request_timeout (53.63s)
--- PASS: TestAccSdkProvider_request_timeout/when_request_timeout_is_set_to_an_empty_string_in_the_config_the_value_fails_validation,_as_it_is_not_a_duration (2.21s)
--- PASS: TestAccSdkProvider_request_timeout/short_timeouts_impact_provisioning_resources (29.32s)
--- PASS: TestAccSdkProvider_request_timeout/a_default_value_of_0s_is_used_when_there_are_no_user_inputs_(it_is_overridden_downstream) (8.14s)
--- PASS: TestAccSdkProvider_request_timeout/request_timeout_can_be_set_in_config_in_different_formats,_are_normalized_to_full-length_format (13.96s)
PASS
ok github.com/hashicorp/terraform-provider-google/google/provider 55.103s
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.
|
Tests analyticsTotal tests: 4203 Click here to see the affected service packages
🟢 All tests passed! View the build log |
Co-authored-by: Mauricio Alvarez Leon <[email protected]>
Co-authored-by: Mauricio Alvarez Leon <[email protected]>
Co-authored-by: Mauricio Alvarez Leon <[email protected]>
Co-authored-by: Mauricio Alvarez Leon <[email protected]>
Co-authored-by: Mauricio Alvarez Leon <[email protected]>
Co-authored-by: Mauricio Alvarez Leon <[email protected]>
Co-authored-by: Mauricio Alvarez Leon <[email protected]>
Co-authored-by: Mauricio Alvarez Leon <[email protected]>
This PR adds acceptance tests for usage of request_timeout that demonstrate:
use cases: how does this argument impact the providers behaviour in plan/apply
Release Note Template for Downstream PRs (will be copied)