From 8fad71b7f985fe1debe18b91af5984aba34ff963 Mon Sep 17 00:00:00 2001 From: karishma-chawla <74574173+karishma-chawla@users.noreply.github.com> Date: Fri, 5 Jan 2024 17:45:18 -0800 Subject: [PATCH] Remove skipped test Signed-off-by: karishma-chawla <74574173+karishma-chawla@users.noreply.github.com> --- .../shared/mechanics/aws_mechanics_test.go | 62 ------------------- 1 file changed, 62 deletions(-) diff --git a/test/functional/shared/mechanics/aws_mechanics_test.go b/test/functional/shared/mechanics/aws_mechanics_test.go index 27a06c0d1c..a4c9f5110f 100644 --- a/test/functional/shared/mechanics/aws_mechanics_test.go +++ b/test/functional/shared/mechanics/aws_mechanics_test.go @@ -92,65 +92,3 @@ func Test_AWSRedeployWithUpdatedResourceUpdatesResource(t *testing.T) { }) test.Test(t) } - -func Test_AWSRedeployWithCreateAndWriteOnlyPropertyUpdate(t *testing.T) { - t.Skip("This test will fail because step 2 is updating a create-and-write-only property.") - name := "my-db" - templateFmt := "testdata/aws-mechanics-redeploy-withcreateandwriteonlypropertyupdate.step%d.bicep" - creationTimestamp := functional.GetCreationTimestamp() - - test := shared.NewRPTest(t, name, []shared.TestStep{ - { - Executor: step.NewDeployExecutor(fmt.Sprintf(templateFmt, 1), "creationTimestamp="+creationTimestamp), - SkipKubernetesOutputResourceValidation: true, - SkipObjectValidation: true, - SkipResourceDeletion: true, - AWSResources: &validation.AWSResourceSet{ - Resources: []validation.AWSResource{ - { - Name: name, - Type: validation.AWSRDSDBInstanceResourceType, - Identifier: name, - Properties: map[string]any{ - "Endpoint": map[string]any{ - "Port": 1444, - }, - "Tags": []any{ - map[string]any{ - "Key": "RadiusCreationTimestamp", - "Value": creationTimestamp, - }, - }, - }, - }, - }, - }, - }, - { - Executor: step.NewDeployExecutor(fmt.Sprintf(templateFmt, 2), "creationTimestamp="+creationTimestamp), - SkipKubernetesOutputResourceValidation: true, - SkipObjectValidation: true, - AWSResources: &validation.AWSResourceSet{ - Resources: []validation.AWSResource{ - { - Name: name, - Type: validation.AWSRDSDBInstanceResourceType, - Identifier: name, - Properties: map[string]any{ - "Endpoint": map[string]any{ - "Port": 1444, - }, - "Tags": []any{ - map[string]any{ - "Key": "RadiusCreationTimestamp", - "Value": creationTimestamp, - }, - }, - }, - }, - }, - }, - }, - }) - test.Test(t) -}