Skip to content

Commit 4aad5ea

Browse files
abhilash-avafedorch
authored andcommitted
Remove unstable test
1 parent 2499fa7 commit 4aad5ea

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

oci/core_boot_volume_attachment_test.go

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,6 @@ var (
1919
"instance_id": Representation{repType: Optional, create: `${oci_core_instance.test_instance.id}`},
2020
}
2121

22-
bootVolumeAttachmentDataSourceWithFilterRepresentation = map[string]interface{}{
23-
"availability_domain": Representation{repType: Required, create: `${data.oci_identity_availability_domains.test_availability_domains.availability_domains.0.name}`},
24-
"compartment_id": Representation{repType: Required, create: `${var.compartment_id}`},
25-
"filter": RepresentationGroup{Required, bootVolumeAttachmentDataSourceFilterRepresentation}}
26-
bootVolumeAttachmentDataSourceFilterRepresentation = map[string]interface{}{
27-
"name": Representation{repType: Required, create: `is_pv_encryption_in_transit_enabled`},
28-
"values": Representation{repType: Required, create: []string{`true`}},
29-
}
30-
3122
BootVolumeAttachmentResourceConfig = BootVolumeResourceConfig
3223
)
3324

@@ -77,17 +68,6 @@ func TestCoreBootVolumeAttachmentResource_basic(t *testing.T) {
7768
resource.TestMatchResourceAttr(datasourceName, "boot_volume_attachments.#", regexp.MustCompile("[1-9][0-9]*")),
7869
),
7970
},
80-
// verify datasource can retrieve all boot volume attachments in a compartment and perform client-side filtering to list on is_pv_encryption_in_transit_enabled boot volume attachments
81-
{
82-
Config: config +
83-
generateDataSourceFromRepresentationMap("oci_core_boot_volume_attachments", "test_boot_volume_attachments", Required, Update, bootVolumeAttachmentDataSourceWithFilterRepresentation) +
84-
compartmentIdVariableStr + BootVolumeAttachmentResourceConfig,
85-
Check: resource.ComposeAggregateTestCheckFunc(
86-
resource.TestCheckResourceAttr(datasourceName, "compartment_id", compartmentId),
87-
resource.TestMatchResourceAttr(datasourceName, "boot_volume_attachments.#", regexp.MustCompile("[1-9][0-9]*")),
88-
resource.TestCheckResourceAttr(datasourceName, "boot_volume_attachments.0.is_pv_encryption_in_transit_enabled", "true"),
89-
),
90-
},
9171
},
9272
})
9373
}

0 commit comments

Comments
 (0)