diff --git a/hack/jenkins/e2e.sh b/hack/jenkins/e2e.sh index 56f8b8e6728..ad5777b60d2 100755 --- a/hack/jenkins/e2e.sh +++ b/hack/jenkins/e2e.sh @@ -131,6 +131,7 @@ GCE_PARALLEL_SKIP_TESTS=( GCE_PARALLEL_FLAKY_TESTS=( "DaemonRestart" "Elasticsearch" + "Namespaces.*should\sdelete\sfast" "PD" "ServiceAccounts" "Services.*change\sthe\stype" diff --git a/test/e2e/namespace.go b/test/e2e/namespace.go index 5c7f49013df..fbaa89ee60c 100644 --- a/test/e2e/namespace.go +++ b/test/e2e/namespace.go @@ -19,13 +19,14 @@ package e2e import ( "fmt" //"k8s.io/kubernetes/pkg/api" + "strings" + "sync" + "time" + client "k8s.io/kubernetes/pkg/client/unversioned" "k8s.io/kubernetes/pkg/fields" "k8s.io/kubernetes/pkg/labels" "k8s.io/kubernetes/pkg/util/wait" - "strings" - "sync" - "time" . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" @@ -110,10 +111,10 @@ var _ = Describe("Namespaces", func() { //Confirms that namespace draining is functioning reasonably //at minute intervals. - It("Delete 90 percent of 100 namespace in 150 seconds", + It("should delete fast enough (90 percent of 100 namespaces in 150 seconds)", func() { extinguish(c, 100, 10, 150) }) //comprehensive draining ; uncomment after #7372 - PIt("Delete ALL of 100 namespace in 150 seconds", + PIt("should always delete fast (ALL of 100 namespaces in 150 seconds)", func() { extinguish(c, 100, 0, 150) }) })