mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
Merge pull request #76300 from jingxu97/April/window_provisioning_fix
Fix test failures in volume provisioning
This commit is contained in:
commit
73e4b133f1
@ -373,6 +373,9 @@ func PVWriteReadSingleNodeCheck(client clientset.Interface, claim *v1.Persistent
|
||||
}
|
||||
command += " || (mount | grep 'on /mnt/test'; false)"
|
||||
|
||||
if framework.NodeOSDistroIs("windows") {
|
||||
command = "select-string 'hello world' /mnt/test/data"
|
||||
}
|
||||
RunInPodWithVolume(client, claim.Namespace, claim.Name, "pvc-volume-tester-reader", command, framework.NodeSelection{Name: actualNodeName})
|
||||
|
||||
return volume
|
||||
|
Loading…
Reference in New Issue
Block a user