Skip to content

Commit

Permalink
Remove skipped test
Browse files Browse the repository at this point in the history
  • Loading branch information
kachawla committed Jan 6, 2024
1 parent 189bcef commit 3dd3c73
Showing 1 changed file with 0 additions and 62 deletions.
62 changes: 0 additions & 62 deletions test/functional/shared/mechanics/aws_mechanics_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit 3dd3c73

Please sign in to comment.