Commit a34f39ae authored by David Oppenheimer's avatar David Oppenheimer

Merge pull request #5966 from lavalamp/fix2

Change the way the density test is disabled
parents b1c06eb5 a8b1fd81
...@@ -166,11 +166,11 @@ func RunRC(c *client.Client, name string, ns, image string, replicas int) { ...@@ -166,11 +166,11 @@ func RunRC(c *client.Client, name string, ns, image string, replicas int) {
Expect(current).To(Equal(replicas)) Expect(current).To(Equal(replicas))
} }
// This test suite can take a long time to run, so by default it is disabled // This test suite can take a long time to run, so by default it is added to
// by being marked as Pending. To enable this suite, remove the P from the // the ginkgo.skip list (see driver.go).
// front of PDescribe (PDescribe->Describe) and then all tests will // To run this suite you must explicitly ask for it by setting the
// be available // -t/--test flag or ginkgo.focus flag.
var _ = PDescribe("Density", func() { var _ = Describe("Density", func() {
var c *client.Client var c *client.Client
var minionCount int var minionCount int
var RCName string var RCName string
......
...@@ -70,6 +70,11 @@ func RunE2ETests(kubeConfig, authConfig, certDir, host, repoRoot, provider strin ...@@ -70,6 +70,11 @@ func RunE2ETests(kubeConfig, authConfig, certDir, host, repoRoot, provider strin
config.GinkgoConfig.FocusString = `\b(` + strings.Join(testRegexps, "|") + `)\b` config.GinkgoConfig.FocusString = `\b(` + strings.Join(testRegexps, "|") + `)\b`
} }
// Disable density test unless it's explicitly requested.
if config.GinkgoConfig.FocusString == "" && config.GinkgoConfig.SkipString == "" {
config.GinkgoConfig.SkipString = "Density"
}
// TODO: Make orderseed work again. // TODO: Make orderseed work again.
var passed testResult = true var passed testResult = true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment