-
Notifications
You must be signed in to change notification settings - Fork 233
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
Tests fail in GoogleCloudPlatform / magic-modules with sdk release 2.24.0 #1104
Comments
It looks like the commit in sdk (ef65fde#diff-3894fabafd3f4b1861dd167c6194c6d79e5824d2bec30d37b257d80a824255c2R19 ) causes the tests fail in GoogleCloudPlatform / magic-modules. |
Hi @zli82016 👋 Thank you for raising this and sorry your provider is running into testing issues. Two questions for you:
Thank you so much. |
I checked the fix in 2.24.1. I do find the place to set the flag skipProviderBlock for our test cases. |
V2.24.1 does not fix the tests. |
Thanks @bflad for the fix in V2.24.1. It is weird that it does not fix our tests. If you need more information, feel free to let me know. Thanks. |
If you have trace logging enabled, it should output the full Terraform configuration being applied with a message Looking at the test code itself, it is using the deprecated |
Thanks, @bflad. I can see the Terraform configuration with enabled trace logging. It has two provider configuration block. provider "google-beta" {} provider "google-beta" { I switched to ProviderFactories and the test runs successfully. It needs some work to switch to ProviderFactories for our system and I am not sure if we have the plan to do that. Can you try to check if it is safe to skip the provider configuration block in this case? Thanks. |
Hello, @bflad , sorry to check again. Do you think is it safe to skip the provider configuration block in this case? Thanks. |
It looks like this was resolved last year, but if not, please feel free to submit a bug report with a full reproduction case. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
SDK version
Relevant provider source code
Terraform Configuration Files
...
Debug Output
Expected Behavior
The following tests should pass.
TestAccContainerNodePool_basicWithClusterId|TestAccContainerNodePool_autoscaling|TestAccContainerNodePool_totalSize|TestAccContainerNodePool_regionalAutoscaling|TestAccContainerNodePool_basic|TestAccContainerCluster_withResourceUsageExportConfig|TestAccComputeVpnTunnel_vpnTunnelBetaExample|TestAccComputeAutoscaler_autoscalerSingleInstanceExample|TestAccProviderBasePath_setInvalidBasePath|TestAccProviderBasePath_setBasePath|TestAccSecurityScannerScanConfig_scanConfigBasicExample
Actual Behavior
The above tests fail.
Steps to Reproduce
References
The text was updated successfully, but these errors were encountered: