mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Merge pull request #50000 from xiangpengzhao/e2e-scalability
Automatic merge from submit-queue (batch tested with PRs 50000, 49954, 49943, 50018, 49607) Add [sig-scalability] prefix to scalability e2e tests **What this PR does / why we need it**: Add [sig-scalability] prefix to scalability e2e tests **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # Umbrella issue #49161 **Special notes for your reviewer**: **Release note**: ```release-note NONE ```
This commit is contained in:
commit
35d7635999
@ -12,6 +12,7 @@ go_library(
|
||||
srcs = [
|
||||
"density.go",
|
||||
"empty.go",
|
||||
"framework.go",
|
||||
"load.go",
|
||||
],
|
||||
tags = ["automanaged"],
|
||||
|
@ -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
|
||||
|
@ -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() {
|
||||
|
23
test/e2e/scalability/framework.go
Normal file
23
test/e2e/scalability/framework.go
Normal file
@ -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)
|
||||
}
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user