From 14d9a0f2c878f249e973a83a214bf077e14f5949 Mon Sep 17 00:00:00 2001 From: Isaac Hollander McCreery Date: Sun, 20 Dec 2015 11:00:00 -0800 Subject: [PATCH] Label slow tests [Slow] --- test/e2e/garbage_collector.go | 4 +++- test/e2e/ingress.go | 3 ++- test/e2e/kubelet_perf.go | 3 ++- test/e2e/kubeproxy.go | 3 ++- test/e2e/pods.go | 6 ++++-- test/e2e/resize_nodes.go | 3 ++- test/e2e/scheduler_predicates.go | 4 +++- 7 files changed, 18 insertions(+), 8 deletions(-) diff --git a/test/e2e/garbage_collector.go b/test/e2e/garbage_collector.go index 2fd02e5fce3..e30a5c1cc2f 100644 --- a/test/e2e/garbage_collector.go +++ b/test/e2e/garbage_collector.go @@ -27,7 +27,9 @@ import ( ) // This test requires that --terminated-pod-gc-threshold=100 be set on the controller manager -var _ = Describe("Garbage collector", func() { +// +// Slow by design (7 min) +var _ = Describe("Garbage collector [Slow]", func() { f := NewFramework("garbage-collector") It("should handle the creation of 1000 pods", func() { SkipUnlessProviderIs("gce") diff --git a/test/e2e/ingress.go b/test/e2e/ingress.go index c304718c0a6..9f1e40d568c 100644 --- a/test/e2e/ingress.go +++ b/test/e2e/ingress.go @@ -376,7 +376,8 @@ func (cont *IngressController) Cleanup(del bool) error { return fmt.Errorf(errMsg) } -var _ = Describe("GCE L7 LoadBalancer Controller [Serial]", func() { +// Slow by design (10 min) +var _ = Describe("GCE L7 LoadBalancer Controller [Serial] [Slow]", func() { // These variables are initialized after framework's beforeEach. var ns string var addonDir string diff --git a/test/e2e/kubelet_perf.go b/test/e2e/kubelet_perf.go index d768eaf19c1..568224902f1 100644 --- a/test/e2e/kubelet_perf.go +++ b/test/e2e/kubelet_perf.go @@ -138,7 +138,8 @@ func verifyCPULimits(expected containersCPUSummary, actual nodesCPUSummary) { } } -var _ = Describe("Kubelet [Serial]", func() { +// Slow by design (1 hour) +var _ = Describe("Kubelet [Serial] [Slow]", func() { var nodeNames sets.String framework := NewFramework("kubelet-perf") var rm *resourceMonitor diff --git a/test/e2e/kubeproxy.go b/test/e2e/kubeproxy.go index 934e4d07edf..05fce57d892 100644 --- a/test/e2e/kubeproxy.go +++ b/test/e2e/kubeproxy.go @@ -71,7 +71,8 @@ var _ = Describe("KubeProxy", func() { f: f, } - It("should test kube-proxy", func() { + // Slow issue #14204 (10 min) + It("should test kube-proxy [Slow]", func() { By("cleaning up any pre-existing namespaces used by this test") config.cleanup() diff --git a/test/e2e/pods.go b/test/e2e/pods.go index 7a3632a3b55..cdaa4caadb4 100644 --- a/test/e2e/pods.go +++ b/test/e2e/pods.go @@ -635,7 +635,8 @@ var _ = Describe("Pods", func() { }, 1, defaultObservationTimeout) }) - It("should have monotonically increasing restart count [Conformance]", func() { + // Slow by design (5 min) + It("should have monotonically increasing restart count [Conformance] [Slow]", func() { runLivenessTest(framework.Client, framework.Namespace.Name, &api.Pod{ ObjectMeta: api.ObjectMeta{ Name: "liveness-http", @@ -936,7 +937,8 @@ var _ = Describe("Pods", func() { } }) - It("should cap back-off at MaxContainerBackOff", func() { + // Slow issue #19027 (20 mins) + It("should cap back-off at MaxContainerBackOff [Slow]", func() { podClient := framework.Client.Pods(framework.Namespace.Name) podName := "back-off-cap" containerName := "back-off-cap" diff --git a/test/e2e/resize_nodes.go b/test/e2e/resize_nodes.go index 6c71b01c824..6c32bf695e7 100644 --- a/test/e2e/resize_nodes.go +++ b/test/e2e/resize_nodes.go @@ -402,7 +402,8 @@ var _ = Describe("Nodes [Disruptive]", func() { systemPodsNo = len(systemPods.Items) }) - Describe("Resize", func() { + // Slow issue #13323 (8 min) + Describe("Resize [Slow]", func() { var skipped bool BeforeEach(func() { diff --git a/test/e2e/scheduler_predicates.go b/test/e2e/scheduler_predicates.go index e286ed8dab9..dbae84a92d3 100644 --- a/test/e2e/scheduler_predicates.go +++ b/test/e2e/scheduler_predicates.go @@ -200,7 +200,9 @@ var _ = Describe("SchedulerPredicates [Serial]", func() { // This test verifies that max-pods flag works as advertised. It assumes that cluster add-on pods stay stable // and cannot be run in parallel with any other test that touches Nodes or Pods. It is so because to check // if max-pods is working we need to fully saturate the cluster and keep it in this state for few seconds. - It("validates MaxPods limit number of pods that are allowed to run", func() { + // + // Slow PR #13315 (8 min) + It("validates MaxPods limit number of pods that are allowed to run [Slow]", func() { totalPodCapacity = 0 for _, node := range nodeList.Items {