Commit 2ebd7719 authored by k8s-merge-robot's avatar k8s-merge-robot

Merge pull request #25121 from liangchenye/flakepodnotfound

Automatic merge from submit-queue fix #24937: flake pod not found https://github.com/kubernetes/kubernetes/issues/24937 Split from #24191 Signed-off-by: 's avatarliang chenye <liangchenye@huawei.com>
parents 4a00266f 3c9306e5
......@@ -24,6 +24,7 @@ import (
apierrs "k8s.io/kubernetes/pkg/api/errors"
"k8s.io/kubernetes/pkg/client/restclient"
client "k8s.io/kubernetes/pkg/client/unversioned"
"k8s.io/kubernetes/pkg/util"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
......@@ -38,9 +39,10 @@ var _ = Describe("Kubelet Container Manager", func() {
Describe("oom score adjusting", func() {
namespace := "oom-adj"
Context("when scheduling a busybox command that always fails in a pod", func() {
podName := "bin-false"
var podName string
BeforeEach(func() {
podName = "bin-false" + string(util.NewUUID())
pod := &api.Pod{
ObjectMeta: api.ObjectMeta{
Name: podName,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment