Skip to content

Commit 0dfa8e5

Browse files
Merge pull request #30122 from bitoku/image-volume-default
OCPNODE-3004: Run ImageVolume tests in all clusters.
2 parents b53c4b6 + c8e9eaa commit 0dfa8e5

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

test/extended/node/image_volume.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,11 @@ var _ = g.Describe("[sig-node] [FeatureGate:ImageVolume] ImageVolume", func() {
3030
)
3131

3232
g.BeforeEach(func() {
33-
// Skip if ImageVolume feature is not enabled
34-
if !exutil.IsTechPreviewNoUpgrade(context.TODO(), oc.AdminConfigClient()) {
35-
g.Skip("skipping, this feature is only supported on TechPreviewNoUpgrade clusters")
33+
// Microshift doesn't inherit OCP feature gates, and ImageVolume won't work either
34+
isMicroshift, err := exutil.IsMicroShiftCluster(oc.AdminKubeClient())
35+
o.Expect(err).NotTo(o.HaveOccurred())
36+
if isMicroshift {
37+
g.Skip("Not supported on Microshift")
3638
}
3739
})
3840

0 commit comments

Comments
 (0)