mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Merge pull request #104121 from dims/skip-node-e2e-test-for-recovering-from-ip-leak-with-docker
Skip node e2e test for recovering from ip leak with docker/ubuntu
This commit is contained in:
commit
4d87be3ec4
@ -21,7 +21,9 @@ package e2enode
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"io/ioutil"
|
||||
"os/exec"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"k8s.io/api/core/v1"
|
||||
@ -80,6 +82,14 @@ var _ = SIGDescribe("Restart [Serial] [Slow] [Disruptive] [NodeFeature:Container
|
||||
ginkgo.Context("Container Runtime", func() {
|
||||
ginkgo.Context("Network", func() {
|
||||
ginkgo.It("should recover from ip leak", func() {
|
||||
if framework.TestContext.ContainerRuntime == "docker" {
|
||||
bytes, err := ioutil.ReadFile("/etc/os-release")
|
||||
if err != nil {
|
||||
if strings.Contains(string(bytes), "ubuntu") {
|
||||
ginkgo.Skip("Test fails with in-tree docker + ubuntu. Skipping test.")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
pods := newTestPods(podCount, false, imageutils.GetPauseImageName(), "restart-container-runtime-test")
|
||||
ginkgo.By(fmt.Sprintf("Trying to create %d pods on node", len(pods)))
|
||||
|
Loading…
Reference in New Issue
Block a user