From 4edae0aa91a41bd6b6acf08ece5ca6952fa08028 Mon Sep 17 00:00:00 2001 From: xiangpengzhao Date: Wed, 2 Aug 2017 11:44:20 +0800 Subject: [PATCH] Add [sig-scalability] prefix to scalability e2e tests --- test/e2e/scalability/BUILD | 1 + test/e2e/scalability/density.go | 2 +- test/e2e/scalability/empty.go | 2 +- test/e2e/scalability/framework.go | 23 +++++++++++++++++++++++ test/e2e/scalability/load.go | 2 +- 5 files changed, 27 insertions(+), 3 deletions(-) create mode 100644 test/e2e/scalability/framework.go diff --git a/test/e2e/scalability/BUILD b/test/e2e/scalability/BUILD index 21731104e8e..36a85c3f238 100644 --- a/test/e2e/scalability/BUILD +++ b/test/e2e/scalability/BUILD @@ -12,6 +12,7 @@ go_library( srcs = [ "density.go", "empty.go", + "framework.go", "load.go", ], tags = ["automanaged"], diff --git a/test/e2e/scalability/density.go b/test/e2e/scalability/density.go index 2a4b4dbacb5..0d584781b10 100644 --- a/test/e2e/scalability/density.go +++ b/test/e2e/scalability/density.go @@ -296,7 +296,7 @@ func cleanupDensityTest(dtc DensityTestConfig) { // IMPORTANT: This test is designed to work on large (>= 100 Nodes) clusters. For smaller ones // results will not be representative for control-plane performance as we'll start hitting // limits on Docker's concurrent container startup. -var _ = framework.KubeDescribe("Density", func() { +var _ = SIGDescribe("Density", func() { var c clientset.Interface var nodeCount int var additionalPodsPrefix string diff --git a/test/e2e/scalability/empty.go b/test/e2e/scalability/empty.go index 05b11044832..cd620587c8b 100644 --- a/test/e2e/scalability/empty.go +++ b/test/e2e/scalability/empty.go @@ -26,7 +26,7 @@ import ( . "github.com/onsi/ginkgo" ) -var _ = framework.KubeDescribe("Empty [Feature:Empty]", func() { +var _ = SIGDescribe("Empty [Feature:Empty]", func() { f := framework.NewDefaultFramework("empty") BeforeEach(func() { diff --git a/test/e2e/scalability/framework.go b/test/e2e/scalability/framework.go new file mode 100644 index 00000000000..0642bd36827 --- /dev/null +++ b/test/e2e/scalability/framework.go @@ -0,0 +1,23 @@ +/* +Copyright 2017 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package scalability + +import "github.com/onsi/ginkgo" + +func SIGDescribe(text string, body func()) bool { + return ginkgo.Describe("[sig-scalability] "+text, body) +} diff --git a/test/e2e/scalability/load.go b/test/e2e/scalability/load.go index 06b34f731d0..bee871e0722 100644 --- a/test/e2e/scalability/load.go +++ b/test/e2e/scalability/load.go @@ -78,7 +78,7 @@ var knownKinds = []schema.GroupKind{ // the ginkgo.skip list (see driver.go). // To run this suite you must explicitly ask for it by setting the // -t/--test flag or ginkgo.focus flag. -var _ = framework.KubeDescribe("Load capacity", func() { +var _ = SIGDescribe("Load capacity", func() { var clientset clientset.Interface var nodeCount int var ns string