Commit a209ae39 authored by David Zhu's avatar David Zhu

Skip tests is fstype is xfs and node distro is gci, cos, or windows

parent 857c8164
......@@ -146,7 +146,7 @@ func skipUnsupportedTest(driver TestDriver, pattern testpatterns.TestPattern) {
if !dInfo.SupportedFsType.Has(pattern.FsType) {
framework.Skipf("Driver %s doesn't support %v -- skipping", dInfo.Name, pattern.FsType)
}
if pattern.FsType == "xfs" && framework.NodeOSDistroIs("gci") {
if pattern.FsType == "xfs" && framework.NodeOSDistroIs("gci", "cos", "windows") {
framework.Skipf("Distro doesn't support xfs -- skipping")
}
if pattern.FsType == "ntfs" && !framework.NodeOSDistroIs("windows") {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment