mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 21:17:23 +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 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{
|
||||||
|
@ -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()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user