@@ -115,7 +115,7 @@ func AppConfiguration_Replica_v1api20240601_CRUD(tc *testcommon.KubePerTestConte
115115 replica := & appconfig.Replica {
116116 ObjectMeta : tc .MakeObjectMetaWithName (replicaName ),
117117 Spec : appconfig.Replica_Spec {
118- AzureName : "eastus2-replica " ,
118+ AzureName : "eastus2replica " ,
119119 Owner : testcommon .AsOwner (cs ),
120120 Location : to .Ptr ("eastus2" ),
121121 },
@@ -165,18 +165,10 @@ func AppConfiguration_Snapshot_v1api20240601_CRUD(tc *testcommon.KubePerTestCont
165165
166166 tc .CreateResourceAndWait (snapshot )
167167
168- armId := * snapshot .Status .Id
169168 tc .Expect (snapshot .Status .CompositionType ).ToNot (BeNil ())
170169 tc .Expect (snapshot .Status .ProvisioningState ).ToNot (BeNil ())
171170 tc .Expect (snapshot .Status .ItemsCount ).ToNot (BeNil ())
172171
173- tc .DeleteResourceAndWait (snapshot )
174-
175- // Ensure that the resource was really deleted in Azure
176- exists , _ , err := tc .AzureClient .CheckExistenceWithGetByID (
177- tc .Ctx ,
178- armId ,
179- string (appconfig .APIVersion_Value ))
180- tc .Expect (err ).ToNot (HaveOccurred ())
181- tc .Expect (exists ).To (BeFalse ())
172+ // Snapshots can't be directly deleted
173+ // tc.DeleteResourceAndWait(snapshot)
182174}
0 commit comments