Skip to content

Commit

Permalink
Add flaky label [Flaky] to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ikehz authored and Isaac Hollander McCreery committed Dec 22, 2015
1 parent 14d9a0f commit 8b255fe
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 10 deletions.
3 changes: 2 additions & 1 deletion test/e2e/daemon_restart.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,8 @@ func getContainerRestarts(c *client.Client, ns string, labelSelector labels.Sele
return failedContainers, containerRestartNodes.List()
}

var _ = Describe("DaemonRestart [Disruptive]", func() {
// Flaky issues #17829, #19023
var _ = Describe("DaemonRestart [Disruptive] [Flaky]", func() {

framework := NewFramework("daemonrestart")
rcName := "daemonrestart" + strconv.Itoa(numPods) + "-" + string(util.NewUUID())
Expand Down
3 changes: 2 additions & 1 deletion test/e2e/daemon_set.go
Original file line number Diff line number Diff line change
Expand Up @@ -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}
nodeSelector := map[string]string{daemonsetColorLabel: "blue"}
Logf("Creating daemon with a node selector %s", dsName)
Expand Down
3 changes: 2 additions & 1 deletion test/e2e/es_cluster_logging.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ import (
. "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")

BeforeEach(func() {
Expand Down
3 changes: 2 additions & 1 deletion test/e2e/ingress.go
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,8 @@ func (cont *IngressController) Cleanup(del bool) error {
}

// 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.
var ns string
var addonDir string
Expand Down
3 changes: 2 additions & 1 deletion test/e2e/monitor_resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
// 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
BeforeEach(func() {
var err error
Expand Down
4 changes: 3 additions & 1 deletion test/e2e/namespace.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@ var _ = Describe("Namespaces", func() {

//Confirms that namespace draining is functioning reasonably
//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) })

//comprehensive draining ; uncomment after #7372
Expand Down
3 changes: 2 additions & 1 deletion test/e2e/nodeoutofdisk.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ const (
// choose that node to be node with index 1.
// 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 unfilledNodeName, recoveredNodeName string
framework := Framework{BaseName: "node-outofdisk"}
Expand Down
3 changes: 2 additions & 1 deletion test/e2e/pods.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
podName := "pod-back-off-liveness"
containerName := "back-off-liveness"
Expand Down
3 changes: 2 additions & 1 deletion test/e2e/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,8 @@ var _ = Describe("Services", func() {
})

// 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
SkipUnlessProviderIs("gce", "gke", "aws")

Expand Down
3 changes: 2 additions & 1 deletion test/e2e/service_accounts.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ import (
. "github.com/onsi/ginkgo"
)

var _ = Describe("ServiceAccounts", func() {
// Flaky issue #19024
var _ = Describe("ServiceAccounts [Flaky]", func() {
f := NewFramework("svcaccounts")

It("should mount an API token into pods [Conformance]", func() {
Expand Down

0 comments on commit 8b255fe

Please sign in to comment.