Label slow tests [Slow]

This commit is contained in:
Isaac Hollander McCreery
2015-12-20 11:00:00 -08:00
committed by Isaac Hollander McCreery
parent 4ca66d2aef
commit 14d9a0f2c8
7 changed files with 18 additions and 8 deletions

View File

@@ -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")

View File

@@ -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

View File

@@ -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

View File

@@ -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()

View File

@@ -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"

View File

@@ -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() {

View File

@@ -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 {