From 54070a6628490ca0a9eb2337ea036018ffdc6d7f Mon Sep 17 00:00:00 2001 From: Mauricio Poppe Date: Mon, 29 Mar 2021 23:32:20 +0000 Subject: [PATCH] Enable another test in windows, use a /bin/sh command instead of a PS one --- test/e2e/framework/volume/fixtures.go | 6 +----- test/e2e/storage/testsuites/multivolume.go | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/test/e2e/framework/volume/fixtures.go b/test/e2e/framework/volume/fixtures.go index f91fccedf86..9c324928499 100644 --- a/test/e2e/framework/volume/fixtures.go +++ b/test/e2e/framework/volume/fixtures.go @@ -368,11 +368,7 @@ func runVolumeTesterPod(client clientset.Interface, timeouts *framework.TimeoutC var gracePeriod int64 = 1 var command string - if !framework.NodeOSDistroIs("windows") { - command = "while true ; do sleep 2; done " - } else { - command = "while(1) {sleep 2}" - } + command = "while true ; do sleep 2; done " seLinuxOptions := &v1.SELinuxOptions{Level: "s0:c0,c1"} clientPod := &v1.Pod{ TypeMeta: metav1.TypeMeta{ diff --git a/test/e2e/storage/testsuites/multivolume.go b/test/e2e/storage/testsuites/multivolume.go index c0c80010efd..9e170422637 100644 --- a/test/e2e/storage/testsuites/multivolume.go +++ b/test/e2e/storage/testsuites/multivolume.go @@ -292,7 +292,7 @@ func (t *multiVolumeTestSuite) DefineTests(driver storageframework.TestDriver, p // [ node1 ] // \ / <- same volume mode // [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() defer cleanup()