*: fix typo and skip exec-io-drain-testcase in win
Signed-off-by: Wei Fu <fuweid89@gmail.com>
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
package integration
|
||||
|
||||
import (
|
||||
"runtime"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
@@ -27,6 +28,11 @@ import (
|
||||
)
|
||||
|
||||
func TestContainerDrainExecIOAfterExit(t *testing.T) {
|
||||
// FIXME(fuweid): support it for windows container.
|
||||
if runtime.GOOS == "windows" {
|
||||
t.Skip("it seems that windows platform doesn't support detached process. skip it")
|
||||
}
|
||||
|
||||
t.Log("Create a sandbox")
|
||||
sb, sbConfig := PodSandboxConfigWithCleanup(t, "sandbox", "container-exec-drain-io-after-exit")
|
||||
|
||||
|
Reference in New Issue
Block a user