Demote namespace e2e test to flaky in parallel (and fix it's name).

This commit is contained in:
Quinton Hoole 2015-09-10 08:45:13 -07:00
parent 08fbe2bc10
commit 72cfaf4955
2 changed files with 7 additions and 5 deletions

View File

@ -131,6 +131,7 @@ GCE_PARALLEL_SKIP_TESTS=(
GCE_PARALLEL_FLAKY_TESTS=(
"DaemonRestart"
"Elasticsearch"
"Namespaces.*should\sdelete\sfast"
"PD"
"ServiceAccounts"
"Services.*change\sthe\stype"

View File

@ -19,13 +19,14 @@ package e2e
import (
"fmt"
//"k8s.io/kubernetes/pkg/api"
"strings"
"sync"
"time"
client "k8s.io/kubernetes/pkg/client/unversioned"
"k8s.io/kubernetes/pkg/fields"
"k8s.io/kubernetes/pkg/labels"
"k8s.io/kubernetes/pkg/util/wait"
"strings"
"sync"
"time"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
@ -110,10 +111,10 @@ var _ = Describe("Namespaces", func() {
//Confirms that namespace draining is functioning reasonably
//at minute intervals.
It("Delete 90 percent of 100 namespace in 150 seconds",
It("should delete fast enough (90 percent of 100 namespaces in 150 seconds)",
func() { extinguish(c, 100, 10, 150) })
//comprehensive draining ; uncomment after #7372
PIt("Delete ALL of 100 namespace in 150 seconds",
PIt("should always delete fast (ALL of 100 namespaces in 150 seconds)",
func() { extinguish(c, 100, 0, 150) })
})