-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Make google_vpc_access_connector
acc tests use a bootstrapped VPC network
#10995
Conversation
google_vpc_access_connector
accc tests use a bootstrapped VPC networkgoogle_vpc_access_connector
acc tests use a bootstrapped VPC network
@@ -46,11 +46,17 @@ examples: | |||
primary_resource_id: 'connector' | |||
vars: | |||
name: 'vpc-con' | |||
network_name: 'default' | |||
test_vars_overrides: | |||
network_name: 'acctest.BootstrapSharedServiceNetworkingConnection(t, "vpc-access-connector")' |
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.
Or I could name this "vpcaccess"
, instead of "vpc-access-connector"
, and then if any other vpcaccess acceptance tests need to use a special VPC they can use the same, service-wide bootstrapped VPC? I'm not sure what the intended usage of BootstrapSharedServiceNetworkingConnection is.
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.
I think what you have is probably fine. Unless things have changed significantly, anything using bootstrapped networks generally needs to use a per-test id.
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: Click here to see the affected service packages
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 testsTestAccVPCAccessConnector_vpcAccessConnectorExample|TestAccVPCAccessConnector_vpcAccessConnectorSharedVpcExample |
|
@@ -46,11 +46,17 @@ examples: | |||
primary_resource_id: 'connector' | |||
vars: | |||
name: 'vpc-con' | |||
network_name: 'default' | |||
test_vars_overrides: | |||
network_name: 'acctest.BootstrapSharedServiceNetworkingConnection(t, "vpc-access-connector")' |
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.
I think what you have is probably fine. Unless things have changed significantly, anything using bootstrapped networks generally needs to use a per-test id.
Thanks! |
This is to address some CIDR related test failures: #10313 (comment)
Release Note Template for Downstream PRs (will be copied)