mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Enable another test in windows, use a /bin/sh command instead of a PS one
This commit is contained in:
parent
ee34cd640a
commit
54070a6628
@ -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{
|
||||
|
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user