Skip to content

Commit

Permalink
Enable another test in windows, use a /bin/sh command instead of a PS…
Browse files Browse the repository at this point in the history
… one
  • Loading branch information
mauriciopoppe committed Jun 22, 2021
1 parent ee34cd6 commit 54070a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions test/e2e/framework/volume/fixtures.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/storage/testsuites/multivolume.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 54070a6

Please sign in to comment.