From b3217cc6248b44f9cb2ec399ec6317991c5dba4f Mon Sep 17 00:00:00 2001 From: globervinodhn Date: Wed, 26 Dec 2018 13:52:56 +0530 Subject: [PATCH] Remove SLOW tag from KUBEDESCRIBE and SIGDESCRIBE Remove SLOW tag and update description for KUBEDESCRIBE(Probing container) and SIGDESCRIBE(EmptyDir Wrapper Volume) Remove slow references for tests that execute below 5 minutes --- test/e2e/common/container_probe.go | 5 ++--- test/e2e/storage/empty_dir_wrapper.go | 7 +++---- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/test/e2e/common/container_probe.go b/test/e2e/common/container_probe.go index d8a8711568..9988a29919 100644 --- a/test/e2e/common/container_probe.go +++ b/test/e2e/common/container_probe.go @@ -20,7 +20,7 @@ import ( "fmt" "time" - "k8s.io/api/core/v1" + v1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/util/intstr" "k8s.io/apimachinery/pkg/util/uuid" @@ -204,13 +204,12 @@ var _ = framework.KubeDescribe("Probing container", func() { }, 1, defaultObservationTimeout) }) - // Slow by design (5 min) /* Release : v1.9 Testname: Pod liveness probe, using http endpoint, multiple restarts (slow) Description: A Pod is created with liveness probe on http endpoint /healthz. The http handler on the /healthz will return a http error after 10 seconds since the Pod is started. This MUST result in liveness check failure. The Pod MUST now be killed and restarted incrementing restart count to 1. The liveness probe must fail again after restart once the http handler for /healthz enpoind on the Pod returns an http error after 10 seconds from the start. Restart counts MUST increment everytime health check fails, measure upto 5 restart. */ - framework.ConformanceIt("should have monotonically increasing restart count [Slow][NodeConformance]", func() { + framework.ConformanceIt("should have monotonically increasing restart count [NodeConformance]", func() { runLivenessTest(f, &v1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "liveness-http", diff --git a/test/e2e/storage/empty_dir_wrapper.go b/test/e2e/storage/empty_dir_wrapper.go index 845ce1c7cd..87c3a4fc4c 100644 --- a/test/e2e/storage/empty_dir_wrapper.go +++ b/test/e2e/storage/empty_dir_wrapper.go @@ -20,7 +20,7 @@ import ( "fmt" "strconv" - "k8s.io/api/core/v1" + v1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/resource" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/util/intstr" @@ -179,10 +179,9 @@ var _ = utils.SIGDescribe("EmptyDir wrapper volumes", func() { /* Release : v1.13 Testname: EmptyDir Wrapper Volume, ConfigMap volumes, no race - Description: Slow by design [~180 Seconds]. - Create 50 ConfigMaps Volumes and 5 replicas of pod with these ConfigMapvolumes mounted. Pod MUST NOT fail waiting for Volumes. + Description: Create 50 ConfigMaps Volumes and 5 replicas of pod with these ConfigMapvolumes mounted. Pod MUST NOT fail waiting for Volumes. */ - framework.ConformanceIt("should not cause race condition when used for configmaps [Serial] [Slow]", func() { + framework.ConformanceIt("should not cause race condition when used for configmaps [Serial]", func() { configMapNames := createConfigmapsForRace(f) defer deleteConfigMaps(f, configMapNames) volumes, volumeMounts := makeConfigMapVolumes(configMapNames)