Skip to content

Commit

Permalink
Emit XFS volume statistics on failure
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
  • Loading branch information
stevekuznetsov committed May 23, 2017
1 parent c02131d commit bf2bf82
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/extended/localquota/local_fsgroup_quota.go
Expand Up @@ -133,6 +133,7 @@ var _ = g.Describe("[Conformance][volumes] Test local storage quota", func() {
o.Expect(volDir).NotTo(o.Equal(""))
args := []string{"-f", "-c", "'%T'", volDir}
outBytes, _ := exec.Command("stat", args...).Output()
fmt.Fprintf(g.GinkgoWriter, "Volume directory status: \n%s\n", outBytes)
if !strings.Contains(string(outBytes), "xfs") {
g.Skip("Volume directory is not on an XFS filesystem, skipping...")
}
Expand Down

0 comments on commit bf2bf82

Please sign in to comment.