Add flaky label [Flaky] to tests

This commit is contained in:
Isaac Hollander McCreery 2015-12-20 11:13:38 -08:00 committed by Isaac Hollander McCreery
parent 14d9a0f2c8
commit 8b255feeee
10 changed files with 21 additions and 10 deletions

View File

@ -183,7 +183,8 @@ func getContainerRestarts(c *client.Client, ns string, labelSelector labels.Sele
return failedContainers, containerRestartNodes.List() return failedContainers, containerRestartNodes.List()
} }
var _ = Describe("DaemonRestart [Disruptive]", func() { // Flaky issues #17829, #19023
var _ = Describe("DaemonRestart [Disruptive] [Flaky]", func() {
framework := NewFramework("daemonrestart") framework := NewFramework("daemonrestart")
rcName := "daemonrestart" + strconv.Itoa(numPods) + "-" + string(util.NewUUID()) rcName := "daemonrestart" + strconv.Itoa(numPods) + "-" + string(util.NewUUID())

View File

@ -126,7 +126,8 @@ var _ = Describe("Daemon set", func() {
}) })
It("should run and stop complex daemon", func() { // Flaky issue #16623
It("should run and stop complex daemon [Flaky]", func() {
complexLabel := map[string]string{daemonsetNameLabel: dsName} complexLabel := map[string]string{daemonsetNameLabel: dsName}
nodeSelector := map[string]string{daemonsetColorLabel: "blue"} nodeSelector := map[string]string{daemonsetColorLabel: "blue"}
Logf("Creating daemon with a node selector %s", dsName) Logf("Creating daemon with a node selector %s", dsName)

View File

@ -30,7 +30,8 @@ import (
. "github.com/onsi/gomega" . "github.com/onsi/gomega"
) )
var _ = Describe("Cluster level logging using Elasticsearch", func() { // Flaky issue #17873
var _ = Describe("Cluster level logging using Elasticsearch [Flaky]", func() {
f := NewFramework("es-logging") f := NewFramework("es-logging")
BeforeEach(func() { BeforeEach(func() {

View File

@ -377,7 +377,8 @@ func (cont *IngressController) Cleanup(del bool) error {
} }
// Slow by design (10 min) // Slow by design (10 min)
var _ = Describe("GCE L7 LoadBalancer Controller [Serial] [Slow]", func() { // Flaky issue #17518
var _ = Describe("GCE L7 LoadBalancer Controller [Serial] [Slow] [Flaky]", func() {
// These variables are initialized after framework's beforeEach. // These variables are initialized after framework's beforeEach.
var ns string var ns string
var addonDir string var addonDir string

View File

@ -72,7 +72,8 @@ func computeAverage(sliceOfUsages []resourceUsagePerContainer) (result resourceU
// This tests does nothing except checking current resource usage of containers defined in kubelet_stats systemContainers variable. // This tests does nothing except checking current resource usage of containers defined in kubelet_stats systemContainers variable.
// Test fails if an average container resource consumption over datapointAmount tries exceeds amount defined in allowedUsage. // Test fails if an average container resource consumption over datapointAmount tries exceeds amount defined in allowedUsage.
var _ = Describe("Resource usage of system containers [Serial]", func() { // Flaky issue #13931
var _ = Describe("Resource usage of system containers [Serial] [Flaky]", func() {
var c *client.Client var c *client.Client
BeforeEach(func() { BeforeEach(func() {
var err error var err error

View File

@ -91,7 +91,9 @@ var _ = Describe("Namespaces", func() {
//Confirms that namespace draining is functioning reasonably //Confirms that namespace draining is functioning reasonably
//at minute intervals. //at minute intervals.
It("should delete fast enough (90 percent of 100 namespaces in 150 seconds)", //
// Flaky issue #19026
It("should delete fast enough (90 percent of 100 namespaces in 150 seconds) [Flaky]",
func() { extinguish(c, 100, 10, 150) }) func() { extinguish(c, 100, 10, 150) })
//comprehensive draining ; uncomment after #7372 //comprehensive draining ; uncomment after #7372

View File

@ -63,7 +63,8 @@ const (
// choose that node to be node with index 1. // choose that node to be node with index 1.
// 7. Observe that the pod in pending status schedules on that node. // 7. Observe that the pod in pending status schedules on that node.
// //
var _ = Describe("NodeOutOfDisk [Serial]", func() { // Flaky issue #17687
var _ = Describe("NodeOutOfDisk [Serial] [Flaky]", func() {
var c *client.Client var c *client.Client
var unfilledNodeName, recoveredNodeName string var unfilledNodeName, recoveredNodeName string
framework := Framework{BaseName: "node-outofdisk"} framework := Framework{BaseName: "node-outofdisk"}

View File

@ -897,7 +897,8 @@ var _ = Describe("Pods", func() {
} }
}) })
It("should not back-off restarting a container on LivenessProbe failure", func() { // Flaky issue #18293
It("should not back-off restarting a container on LivenessProbe failure [Flaky]", func() {
podClient := framework.Client.Pods(framework.Namespace.Name) podClient := framework.Client.Pods(framework.Namespace.Name)
podName := "pod-back-off-liveness" podName := "pod-back-off-liveness"
containerName := "back-off-liveness" containerName := "back-off-liveness"

View File

@ -778,7 +778,8 @@ var _ = Describe("Services", func() {
}) })
// This test hits several load-balancer cases because LB turnup is slow. // This test hits several load-balancer cases because LB turnup is slow.
It("should serve identically named services in different namespaces on different load-balancers", func() { // Flaky issue #18952
It("should serve identically named services in different namespaces on different load-balancers [Flaky]", func() {
// requires ExternalLoadBalancer // requires ExternalLoadBalancer
SkipUnlessProviderIs("gce", "gke", "aws") SkipUnlessProviderIs("gce", "gke", "aws")

View File

@ -30,7 +30,8 @@ import (
. "github.com/onsi/ginkgo" . "github.com/onsi/ginkgo"
) )
var _ = Describe("ServiceAccounts", func() { // Flaky issue #19024
var _ = Describe("ServiceAccounts [Flaky]", func() {
f := NewFramework("svcaccounts") f := NewFramework("svcaccounts")
It("should mount an API token into pods [Conformance]", func() { It("should mount an API token into pods [Conformance]", func() {