Skip to content

Commit 40b3cbb

Browse files
dhananjay-ngl-technicore
authored andcommitted
Enabling static FSS Intransit encryption Tests for ARM
1 parent a9f9a90 commit 40b3cbb

File tree

1 file changed

+8
-16
lines changed

1 file changed

+8
-16
lines changed

test/e2e/cloud-provider-oci/fss_static.go

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,8 @@ var _ = Describe("FSS Static in-transit encryption test", func() {
3838
f := framework.NewDefaultFramework("fss-basic")
3939
Context("[cloudprovider][storage][csi][fss][static]", func() {
4040
It("Create PVC and POD for FSS in-transit encryption", func() {
41-
if setupF.Architecture == "AMD" {
42-
checkNodeAvailability(f)
43-
TestEncryptionType(f, []string{})
44-
} else {
45-
framework.Logf("CSI-FSS Intransit Encryption is not supported on ARM architecture")
46-
}
41+
checkNodeAvailability(f)
42+
TestEncryptionType(f, []string{})
4743
})
4844
})
4945
})
@@ -91,16 +87,12 @@ var _ = Describe("Multiple Pods Static FSS test", func() {
9187
})
9288

9389
It("Multiple Pods should be able to read write same file with InTransit encryption enabled", func() {
94-
if setupF.Architecture == "AMD" {
95-
checkNodeAvailability(f)
96-
pvcJig := framework.NewPVCTestJig(f.ClientSet, "csi-fss-e2e-test")
97-
pv := pvcJig.CreatePVorFailFSS(f.Namespace.Name, setupF.VolumeHandle, "true", []string{})
98-
pvc := pvcJig.CreateAndAwaitPVCOrFailStaticFSS(f.Namespace.Name, pv.Name, "50Gi", nil)
99-
f.VolumeIds = append(f.VolumeIds, pvc.Spec.VolumeName)
100-
pvcJig.CheckMultiplePodReadWrite(f.Namespace.Name, pvc.Name, true)
101-
} else {
102-
framework.Logf("CSI-FSS Intransit Encryption is not supported on ARM architecture")
103-
}
90+
checkNodeAvailability(f)
91+
pvcJig := framework.NewPVCTestJig(f.ClientSet, "csi-fss-e2e-test")
92+
pv := pvcJig.CreatePVorFailFSS(f.Namespace.Name, setupF.VolumeHandle, "true", []string{})
93+
pvc := pvcJig.CreateAndAwaitPVCOrFailStaticFSS(f.Namespace.Name, pv.Name, "50Gi", nil)
94+
f.VolumeIds = append(f.VolumeIds, pvc.Spec.VolumeName)
95+
pvcJig.CheckMultiplePodReadWrite(f.Namespace.Name, pvc.Name, true)
10496
})
10597
})
10698
})

0 commit comments

Comments
 (0)