Enable another test in windows, use a /bin/sh command instead of a PS one

This commit is contained in:
Mauricio Poppe 2021-03-29 23:32:20 +00:00
parent ee34cd640a
commit 54070a6628
2 changed files with 2 additions and 6 deletions

View File

@ -368,11 +368,7 @@ func runVolumeTesterPod(client clientset.Interface, timeouts *framework.TimeoutC
var gracePeriod int64 = 1 var gracePeriod int64 = 1
var command string var command string
if !framework.NodeOSDistroIs("windows") { command = "while true ; do sleep 2; done "
command = "while true ; do sleep 2; done "
} else {
command = "while(1) {sleep 2}"
}
seLinuxOptions := &v1.SELinuxOptions{Level: "s0:c0,c1"} seLinuxOptions := &v1.SELinuxOptions{Level: "s0:c0,c1"}
clientPod := &v1.Pod{ clientPod := &v1.Pod{
TypeMeta: metav1.TypeMeta{ TypeMeta: metav1.TypeMeta{

View File

@ -292,7 +292,7 @@ func (t *multiVolumeTestSuite) DefineTests(driver storageframework.TestDriver, p
// [ node1 ] // [ node1 ]
// \ / <- same volume mode // \ / <- same volume mode
// [volume1] // [volume1]
ginkgo.It("should concurrently access the single volume from pods on the same node [LinuxOnly]", func() { ginkgo.It("should concurrently access the single volume from pods on the same node", func() {
init() init()
defer cleanup() defer cleanup()