mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 12:43:23 +00:00
Merge pull request #78459 from davidz627/fix/skipXFS
Skip GCE PD in-tree plugin tests if fstype is xfs and node distro is not ubuntu or custom
This commit is contained in:
commit
928a642ffd
@ -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") {
|
||||
|
Loading…
Reference in New Issue
Block a user