Skip to content

Commit d759401

Browse files
author
OpenShift Bot
authored
Merge pull request #13226 from stevekuznetsov/skuznets/stop-xfs-test
Merged by openshift-bot
2 parents 8eafb3d + 1649c9a commit d759401

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/extended/localquota/local_fsgroup_quota.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,9 @@ var _ = g.Describe("[Conformance][volumes] Test local storage quota", func() {
133133
o.Expect(volDir).NotTo(o.Equal(""))
134134
args := []string{"-f", "-c", "'%T'", volDir}
135135
outBytes, _ := exec.Command("stat", args...).Output()
136-
o.Expect(strings.Contains(string(outBytes), "xfs")).To(o.BeTrue())
136+
if !strings.Contains(string(outBytes), "xfs") {
137+
g.Skip("Volume directory is not on an XFS filesystem, skipping...")
138+
}
137139

138140
g.By("lookup test projects fsGroup ID")
139141
fsGroup, err := lookupFSGroup(oc, project)

0 commit comments

Comments
 (0)