-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
r/aws_networkmanager_core_network #28155
r/aws_networkmanager_core_network #28155
Conversation
Community NoteVoting for Prioritization
For Submitters
|
828b706
to
2970f94
Compare
Acceptance test output: % make testacc TESTARGS='-run=TestAccNetworkManagerCoreNetwork_' PKG=networkmanager ACCTEST_PARALLELISM=2 ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/networkmanager/... -v -count 1 -parallel 2 -run=TestAccNetworkManagerCoreNetwork_ -timeout 180m === RUN TestAccNetworkManagerCoreNetwork_basic === PAUSE TestAccNetworkManagerCoreNetwork_basic === RUN TestAccNetworkManagerCoreNetwork_disappears === PAUSE TestAccNetworkManagerCoreNetwork_disappears === RUN TestAccNetworkManagerCoreNetwork_tags === PAUSE TestAccNetworkManagerCoreNetwork_tags === RUN TestAccNetworkManagerCoreNetwork_description === PAUSE TestAccNetworkManagerCoreNetwork_description === RUN TestAccNetworkManagerCoreNetwork_policyDocument === PAUSE TestAccNetworkManagerCoreNetwork_policyDocument === CONT TestAccNetworkManagerCoreNetwork_basic === CONT TestAccNetworkManagerCoreNetwork_description --- PASS: TestAccNetworkManagerCoreNetwork_basic (50.55s) === CONT TestAccNetworkManagerCoreNetwork_tags --- PASS: TestAccNetworkManagerCoreNetwork_description (64.85s) === CONT TestAccNetworkManagerCoreNetwork_disappears --- PASS: TestAccNetworkManagerCoreNetwork_disappears (28.52s) === CONT TestAccNetworkManagerCoreNetwork_policyDocument --- PASS: TestAccNetworkManagerCoreNetwork_tags (64.44s) --- PASS: TestAccNetworkManagerCoreNetwork_policyDocument (778.00s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/networkmanager 876.679s
… Site VPN Attachments.
…uted if 'policy_document' changes. Acceptance test output: % make testacc TESTARGS='-run=TestAccNetworkManagerCoreNetwork_policyDocument' PKG=networkmanager ACCTEST_PARALLELISM=2 ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/networkmanager/... -v -count 1 -parallel 2 -run=TestAccNetworkManagerCoreNetwork_policyDocument -timeout 180m === RUN TestAccNetworkManagerCoreNetwork_policyDocument === PAUSE TestAccNetworkManagerCoreNetwork_policyDocument === CONT TestAccNetworkManagerCoreNetwork_policyDocument --- PASS: TestAccNetworkManagerCoreNetwork_policyDocument (622.08s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/networkmanager 630.804s
@GlennChia The updates to |
…anager_core_network' in acceptance tests. Acceptance test output: % make testacc TESTARGS='-run=TestAccTransitGateway_serial/PolicyTableAssociation' PKG=ec2 ACCTEST_PARALLELISM=2 ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 2 -run=TestAccTransitGateway_serial/PolicyTableAssociation -timeout 180m === RUN TestAccTransitGateway_serial === RUN TestAccTransitGateway_serial/PolicyTableAssociation === RUN TestAccTransitGateway_serial/PolicyTableAssociation/basic === RUN TestAccTransitGateway_serial/PolicyTableAssociation/disappears --- PASS: TestAccTransitGateway_serial (2330.46s) --- PASS: TestAccTransitGateway_serial/PolicyTableAssociation (2330.46s) --- PASS: TestAccTransitGateway_serial/PolicyTableAssociation/basic (1068.59s) --- PASS: TestAccTransitGateway_serial/PolicyTableAssociation/disappears (1261.86s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/ec2 2335.997s
…_network' in acceptance tests. Acceptance test output: % make testacc TESTARGS='-run=TestAccNetworkManagerConnectAttachment_' PKG=networkmanager ACCTEST_PARALLELISM=3 ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/networkmanager/... -v -count 1 -parallel 3 -run=TestAccNetworkManagerConnectAttachment_ -timeout 180m === RUN TestAccNetworkManagerConnectAttachment_basic === PAUSE TestAccNetworkManagerConnectAttachment_basic === RUN TestAccNetworkManagerConnectAttachment_basic_NoDependsOn === PAUSE TestAccNetworkManagerConnectAttachment_basic_NoDependsOn === RUN TestAccNetworkManagerConnectAttachment_disappears === PAUSE TestAccNetworkManagerConnectAttachment_disappears === RUN TestAccNetworkManagerConnectAttachment_tags === PAUSE TestAccNetworkManagerConnectAttachment_tags === CONT TestAccNetworkManagerConnectAttachment_basic === CONT TestAccNetworkManagerConnectAttachment_disappears === CONT TestAccNetworkManagerConnectAttachment_tags --- PASS: TestAccNetworkManagerConnectAttachment_disappears (1095.14s) === CONT TestAccNetworkManagerConnectAttachment_basic_NoDependsOn --- PASS: TestAccNetworkManagerConnectAttachment_tags (1156.98s) --- PASS: TestAccNetworkManagerConnectAttachment_basic (1161.74s) --- PASS: TestAccNetworkManagerConnectAttachment_basic_NoDependsOn (1107.70s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/networkmanager 2208.289s
…_networkmanager_core_network' in acceptance tests. Acceptance test output: % make testacc TESTARGS='-run=TestAccNetworkManagerTransitGatewayRouteTableAttachment_' PKG=networkmanager ACCTEST_PARALLELISM=3 ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/networkmanager/... -v -count 1 -parallel 3 -run=TestAccNetworkManagerTransitGatewayRouteTableAttachment_ -timeout 180m === RUN TestAccNetworkManagerTransitGatewayRouteTableAttachment_basic === PAUSE TestAccNetworkManagerTransitGatewayRouteTableAttachment_basic === RUN TestAccNetworkManagerTransitGatewayRouteTableAttachment_disappears === PAUSE TestAccNetworkManagerTransitGatewayRouteTableAttachment_disappears === RUN TestAccNetworkManagerTransitGatewayRouteTableAttachment_tags === PAUSE TestAccNetworkManagerTransitGatewayRouteTableAttachment_tags === CONT TestAccNetworkManagerTransitGatewayRouteTableAttachment_basic === CONT TestAccNetworkManagerTransitGatewayRouteTableAttachment_tags === CONT TestAccNetworkManagerTransitGatewayRouteTableAttachment_disappears --- PASS: TestAccNetworkManagerTransitGatewayRouteTableAttachment_basic (1435.78s) --- PASS: TestAccNetworkManagerTransitGatewayRouteTableAttachment_disappears (1545.42s) --- PASS: TestAccNetworkManagerTransitGatewayRouteTableAttachment_tags (1605.54s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/networkmanager 1610.116s
…work' in acceptance tests. Acceptance test output: % make testacc TESTARGS='-run=TestAccNetworkManagerVPCAttachment_' PKG=networkmanager ACCTEST_PARALLELISM=3 ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/networkmanager/... -v -count 1 -parallel 3 -run=TestAccNetworkManagerVPCAttachment_ -timeout 180m === RUN TestAccNetworkManagerVPCAttachment_basic === PAUSE TestAccNetworkManagerVPCAttachment_basic === RUN TestAccNetworkManagerVPCAttachment_disappears === PAUSE TestAccNetworkManagerVPCAttachment_disappears === RUN TestAccNetworkManagerVPCAttachment_tags === PAUSE TestAccNetworkManagerVPCAttachment_tags === RUN TestAccNetworkManagerVPCAttachment_update === PAUSE TestAccNetworkManagerVPCAttachment_update === CONT TestAccNetworkManagerVPCAttachment_basic === CONT TestAccNetworkManagerVPCAttachment_tags --- PASS: TestAccNetworkManagerVPCAttachment_update (1174.65s) === CONT TestAccNetworkManagerVPCAttachment_disappears --- PASS: TestAccNetworkManagerVPCAttachment_basic (767.31s) --- PASS: TestAccNetworkManagerVPCAttachment_disappears (822.90s) --- PASS: TestAccNetworkManagerVPCAttachment_tags (973.92s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/networkmanager 1179.452s
…_core_network' in acceptance tests. Acceptance test output: % make testacc TESTARGS='-run=TestAccNetworkManagerTransitGatewayPeering_' PKG=networkmanager ACCTEST_PARALLELISM=3 ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/networkmanager/... -v -count 1 -parallel 3 -run=TestAccNetworkManagerTransitGatewayPeering_ -timeout 180m === RUN TestAccNetworkManagerTransitGatewayPeering_basic === PAUSE TestAccNetworkManagerTransitGatewayPeering_basic === RUN TestAccNetworkManagerTransitGatewayPeering_disappears === PAUSE TestAccNetworkManagerTransitGatewayPeering_disappears === RUN TestAccNetworkManagerTransitGatewayPeering_tags === PAUSE TestAccNetworkManagerTransitGatewayPeering_tags === CONT TestAccNetworkManagerTransitGatewayPeering_basic === CONT TestAccNetworkManagerTransitGatewayPeering_tags === CONT TestAccNetworkManagerTransitGatewayPeering_disappears --- PASS: TestAccNetworkManagerTransitGatewayPeering_tags (1210.81s) --- PASS: TestAccNetworkManagerTransitGatewayPeering_basic (1310.53s) --- PASS: TestAccNetworkManagerTransitGatewayPeering_disappears (1323.75s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/networkmanager 1328.536s
…ager_core_network' in acceptance tests. Acceptance test output: % make testacc TESTARGS='-run=TestAccNetworkManagerSiteToSiteVPNAttachment_' PKG=networkmanager ACCTEST_PARALLELISM=3 ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/networkmanager/... -v -count 1 -parallel 3 -run=TestAccNetworkManagerSiteToSiteVPNAttachment_ -timeout 180m === RUN TestAccNetworkManagerSiteToSiteVPNAttachment_basic === PAUSE TestAccNetworkManagerSiteToSiteVPNAttachment_basic === RUN TestAccNetworkManagerSiteToSiteVPNAttachment_disappears === PAUSE TestAccNetworkManagerSiteToSiteVPNAttachment_disappears === RUN TestAccNetworkManagerSiteToSiteVPNAttachment_tags === PAUSE TestAccNetworkManagerSiteToSiteVPNAttachment_tags === CONT TestAccNetworkManagerSiteToSiteVPNAttachment_basic === CONT TestAccNetworkManagerSiteToSiteVPNAttachment_tags === CONT TestAccNetworkManagerSiteToSiteVPNAttachment_disappears --- PASS: TestAccNetworkManagerSiteToSiteVPNAttachment_tags (1458.00s) --- PASS: TestAccNetworkManagerSiteToSiteVPNAttachment_disappears (1465.42s) --- PASS: TestAccNetworkManagerSiteToSiteVPNAttachment_basic (1466.45s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/networkmanager 1470.765s
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.
LGTM 🚀.
% make testacc TESTARGS='-run=TestAccNetworkManagerSiteToSiteVPNAttachment_' PKG=networkmanager ACCTEST_PARALLELISM=3
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/networkmanager/... -v -count 1 -parallel 3 -run=TestAccNetworkManagerSiteToSiteVPNAttachment_ -timeout 180m
=== RUN TestAccNetworkManagerSiteToSiteVPNAttachment_basic
=== PAUSE TestAccNetworkManagerSiteToSiteVPNAttachment_basic
=== RUN TestAccNetworkManagerSiteToSiteVPNAttachment_disappears
=== PAUSE TestAccNetworkManagerSiteToSiteVPNAttachment_disappears
=== RUN TestAccNetworkManagerSiteToSiteVPNAttachment_tags
=== PAUSE TestAccNetworkManagerSiteToSiteVPNAttachment_tags
=== CONT TestAccNetworkManagerSiteToSiteVPNAttachment_basic
=== CONT TestAccNetworkManagerSiteToSiteVPNAttachment_tags
=== CONT TestAccNetworkManagerSiteToSiteVPNAttachment_disappears
--- PASS: TestAccNetworkManagerSiteToSiteVPNAttachment_tags (1458.00s)
--- PASS: TestAccNetworkManagerSiteToSiteVPNAttachment_disappears (1465.42s)
--- PASS: TestAccNetworkManagerSiteToSiteVPNAttachment_basic (1466.45s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/networkmanager 1470.765s
% make testacc TESTARGS='-run=TestAccNetworkManagerTransitGatewayPeering_' PKG=networkmanager ACCTEST_PARALLELISM=3
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/networkmanager/... -v -count 1 -parallel 3 -run=TestAccNetworkManagerTransitGatewayPeering_ -timeout 180m
=== RUN TestAccNetworkManagerTransitGatewayPeering_basic
=== PAUSE TestAccNetworkManagerTransitGatewayPeering_basic
=== RUN TestAccNetworkManagerTransitGatewayPeering_disappears
=== PAUSE TestAccNetworkManagerTransitGatewayPeering_disappears
=== RUN TestAccNetworkManagerTransitGatewayPeering_tags
=== PAUSE TestAccNetworkManagerTransitGatewayPeering_tags
=== CONT TestAccNetworkManagerTransitGatewayPeering_basic
=== CONT TestAccNetworkManagerTransitGatewayPeering_tags
=== CONT TestAccNetworkManagerTransitGatewayPeering_disappears
--- PASS: TestAccNetworkManagerTransitGatewayPeering_tags (1210.81s)
--- PASS: TestAccNetworkManagerTransitGatewayPeering_basic (1310.53s)
--- PASS: TestAccNetworkManagerTransitGatewayPeering_disappears (1323.75s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/networkmanager 1328.536s
% make testacc TESTARGS='-run=TestAccNetworkManagerVPCAttachment_' PKG=networkmanager ACCTEST_PARALLELISM=3
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/networkmanager/... -v -count 1 -parallel 3 -run=TestAccNetworkManagerVPCAttachment_ -timeout 180m
=== RUN TestAccNetworkManagerVPCAttachment_basic
=== PAUSE TestAccNetworkManagerVPCAttachment_basic
=== RUN TestAccNetworkManagerVPCAttachment_disappears
=== PAUSE TestAccNetworkManagerVPCAttachment_disappears
=== RUN TestAccNetworkManagerVPCAttachment_tags
=== PAUSE TestAccNetworkManagerVPCAttachment_tags
=== RUN TestAccNetworkManagerVPCAttachment_update
=== PAUSE TestAccNetworkManagerVPCAttachment_update
=== CONT TestAccNetworkManagerVPCAttachment_basic
=== CONT TestAccNetworkManagerVPCAttachment_tags
--- PASS: TestAccNetworkManagerVPCAttachment_update (1174.65s)
=== CONT TestAccNetworkManagerVPCAttachment_disappears
--- PASS: TestAccNetworkManagerVPCAttachment_basic (767.31s)
--- PASS: TestAccNetworkManagerVPCAttachment_disappears (822.90s)
--- PASS: TestAccNetworkManagerVPCAttachment_tags (973.92s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/networkmanager 1179.452s
% make testacc TESTARGS='-run=TestAccNetworkManagerTransitGatewayRouteTableAttachment_' PKG=networkmanager ACCTEST_PARALLELISM=3
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/networkmanager/... -v -count 1 -parallel 3 -run=TestAccNetworkManagerTransitGatewayRouteTableAttachment_ -timeout 180m
=== RUN TestAccNetworkManagerTransitGatewayRouteTableAttachment_basic
=== PAUSE TestAccNetworkManagerTransitGatewayRouteTableAttachment_basic
=== RUN TestAccNetworkManagerTransitGatewayRouteTableAttachment_disappears
=== PAUSE TestAccNetworkManagerTransitGatewayRouteTableAttachment_disappears
=== RUN TestAccNetworkManagerTransitGatewayRouteTableAttachment_tags
=== PAUSE TestAccNetworkManagerTransitGatewayRouteTableAttachment_tags
=== CONT TestAccNetworkManagerTransitGatewayRouteTableAttachment_basic
=== CONT TestAccNetworkManagerTransitGatewayRouteTableAttachment_tags
=== CONT TestAccNetworkManagerTransitGatewayRouteTableAttachment_disappears
--- PASS: TestAccNetworkManagerTransitGatewayRouteTableAttachment_basic (1435.78s)
--- PASS: TestAccNetworkManagerTransitGatewayRouteTableAttachment_disappears (1545.42s)
--- PASS: TestAccNetworkManagerTransitGatewayRouteTableAttachment_tags (1605.54s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/networkmanager 1610.116s
% make testacc TESTARGS='-run=TestAccNetworkManagerConnectAttachment_' PKG=networkmanager ACCTEST_PARALLELISM=3
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/networkmanager/... -v -count 1 -parallel 3 -run=TestAccNetworkManagerConnectAttachment_ -timeout 180m
=== RUN TestAccNetworkManagerConnectAttachment_basic
=== PAUSE TestAccNetworkManagerConnectAttachment_basic
=== RUN TestAccNetworkManagerConnectAttachment_basic_NoDependsOn
=== PAUSE TestAccNetworkManagerConnectAttachment_basic_NoDependsOn
=== RUN TestAccNetworkManagerConnectAttachment_disappears
=== PAUSE TestAccNetworkManagerConnectAttachment_disappears
=== RUN TestAccNetworkManagerConnectAttachment_tags
=== PAUSE TestAccNetworkManagerConnectAttachment_tags
=== CONT TestAccNetworkManagerConnectAttachment_basic
=== CONT TestAccNetworkManagerConnectAttachment_disappears
=== CONT TestAccNetworkManagerConnectAttachment_tags
--- PASS: TestAccNetworkManagerConnectAttachment_disappears (1095.14s)
=== CONT TestAccNetworkManagerConnectAttachment_basic_NoDependsOn
--- PASS: TestAccNetworkManagerConnectAttachment_tags (1156.98s)
--- PASS: TestAccNetworkManagerConnectAttachment_basic (1161.74s)
--- PASS: TestAccNetworkManagerConnectAttachment_basic_NoDependsOn (1107.70s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/networkmanager 2208.289s
% make testacc TESTARGS='-run=TestAccTransitGateway_serial/PolicyTableAssociation' PKG=ec2 ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 2 -run=TestAccTransitGateway_serial/PolicyTableAssociation -timeout 180m
=== RUN TestAccTransitGateway_serial
=== RUN TestAccTransitGateway_serial/PolicyTableAssociation
=== RUN TestAccTransitGateway_serial/PolicyTableAssociation/basic
=== RUN TestAccTransitGateway_serial/PolicyTableAssociation/disappears
--- PASS: TestAccTransitGateway_serial (2330.46s)
--- PASS: TestAccTransitGateway_serial/PolicyTableAssociation (2330.46s)
--- PASS: TestAccTransitGateway_serial/PolicyTableAssociation/basic (1068.59s)
--- PASS: TestAccTransitGateway_serial/PolicyTableAssociation/disappears (1261.86s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/ec2 2335.997s
% make testacc TESTARGS='-run=TestAccNetworkManagerCoreNetwork_' PKG=networkmanager ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/networkmanager/... -v -count 1 -parallel 2 -run=TestAccNetworkManagerCoreNetwork_ -timeout 180m
=== RUN TestAccNetworkManagerCoreNetwork_basic
=== PAUSE TestAccNetworkManagerCoreNetwork_basic
=== RUN TestAccNetworkManagerCoreNetwork_disappears
=== PAUSE TestAccNetworkManagerCoreNetwork_disappears
=== RUN TestAccNetworkManagerCoreNetwork_tags
=== PAUSE TestAccNetworkManagerCoreNetwork_tags
=== RUN TestAccNetworkManagerCoreNetwork_description
=== PAUSE TestAccNetworkManagerCoreNetwork_description
=== RUN TestAccNetworkManagerCoreNetwork_policyDocument
=== PAUSE TestAccNetworkManagerCoreNetwork_policyDocument
=== CONT TestAccNetworkManagerCoreNetwork_basic
=== CONT TestAccNetworkManagerCoreNetwork_description
--- PASS: TestAccNetworkManagerCoreNetwork_basic (50.55s)
=== CONT TestAccNetworkManagerCoreNetwork_tags
--- PASS: TestAccNetworkManagerCoreNetwork_description (64.85s)
=== CONT TestAccNetworkManagerCoreNetwork_disappears
--- PASS: TestAccNetworkManagerCoreNetwork_disappears (28.52s)
=== CONT TestAccNetworkManagerCoreNetwork_policyDocument
--- PASS: TestAccNetworkManagerCoreNetwork_tags (64.44s)
--- PASS: TestAccNetworkManagerCoreNetwork_policyDocument (778.00s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/networkmanager 876.679s
@GlennChia Thanks for the contribution 🎉 👏. |
Amazing! Thank you @GlennChia and @ewbankkit 🙏 |
This functionality has been released in v4.46.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Description
Creates the Network Manager Core Network resource - introduces Create, Read and Update. Note that Delete was already implemented.
Logic of policy versioning
PutCoreNetworkPolicy
which creates the new policy labelled asLATEST
Pending generation
toReady to execute
ExecuteCoreNetworkChangeSet
to set the latest policy as theLIVE
policy. Note that retries are included because we get a Validation exception with messageIncorrect input
if the policy is not in theReady to execute
stateUpdating
state and we wait till it becomesAvailable
againGotchas
The data type for
policy_document
In theUpdate
(PutCoreNetworkPolicy
API) differs from that of theCreate
(CreateCoreNetwork
API).PutCoreNetworkPolicy
: PolicyDocument aws.JSONValuetype:"jsonvalue" required:"true"
CreateCoreNetwork
: PolicyDocument *stringtype:"string"
There is an attribute that is computed named
segments
. This is populated by the data inpolicy_document
. In the testTestAccNetworkManagerCoreNetwork_policyDocument
, the contents ofsegments
is verified at the first test step (when the Core Network is created). However, on Update in the third step, the values do not change in the test. Hence, it is commented out. However, the changes can be seen in the debugger with ad.Get("segments")
, implying that the third test steps seems to use the previous schema for computed attributes.Relations
Relates #25835
References
Output from Acceptance Testing