Merge pull request #76300 from jingxu97/April/window_provisioning_fix
Fix test failures in volume provisioning
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user