mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 21:17:23 +00:00
Skip tests is fstype is xfs and node distro is gci, cos, or windows
This commit is contained in:
parent
4fed75302a
commit
00eb0d23c3
@ -146,7 +146,7 @@ func skipUnsupportedTest(driver TestDriver, pattern testpatterns.TestPattern) {
|
|||||||
if !dInfo.SupportedFsType.Has(pattern.FsType) {
|
if !dInfo.SupportedFsType.Has(pattern.FsType) {
|
||||||
framework.Skipf("Driver %s doesn't support %v -- skipping", dInfo.Name, 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")
|
framework.Skipf("Distro doesn't support xfs -- skipping")
|
||||||
}
|
}
|
||||||
if pattern.FsType == "ntfs" && !framework.NodeOSDistroIs("windows") {
|
if pattern.FsType == "ntfs" && !framework.NodeOSDistroIs("windows") {
|
||||||
|
Loading…
Reference in New Issue
Block a user