Remove KubeDescribe from SIGDescribe calls

This commit is contained in:
wojtekt 2021-02-25 14:05:22 +01:00
parent cd6712518b
commit cad9957f95
10 changed files with 960 additions and 964 deletions

File diff suppressed because it is too large Load Diff

View File

@ -16,9 +16,9 @@ limitations under the License.
package cloud
import "k8s.io/kubernetes/test/e2e/framework"
import "github.com/onsi/ginkgo"
// SIGDescribe annotates the test with the SIG label.
func SIGDescribe(text string, body func()) bool {
return framework.KubeDescribe("[sig-cloud-provider] "+text, body)
return ginkgo.Describe("[sig-cloud-provider] "+text, body)
}

View File

@ -322,13 +322,14 @@ var _ = SIGDescribe("gpu Upgrade [Feature:GPUUpgrade]", func() {
})
})
// TODO(#98326): Figure out the right SIG and use appropriate SIGDescribe.
var _ = ginkgo.Describe("[sig-apps] stateful Upgrade [Feature:StatefulUpgrade]", func() {
f := framework.NewDefaultFramework("stateful-upgrade")
// Create the frameworks here because we can only create them
// in a "Describe".
testFrameworks := createUpgradeFrameworks(statefulsetUpgradeTests)
framework.KubeDescribe("stateful upgrade", func() {
ginkgo.Describe("stateful upgrade", func() {
ginkgo.It("should maintain a functioning cluster", func() {
upgCtx, err := getUpgradeContext(f.ClientSet.Discovery(), *upgradeTarget)
framework.ExpectNoError(err)

View File

@ -16,9 +16,9 @@ limitations under the License.
package gcp
import "k8s.io/kubernetes/test/e2e/framework"
import "github.com/onsi/ginkgo"
// SIGDescribe annotates the test with the SIG label.
func SIGDescribe(text string, body func()) bool {
return framework.KubeDescribe("[sig-cloud-provider-gcp] "+text, body)
return ginkgo.Describe("[sig-cloud-provider-gcp] "+text, body)
}

View File

@ -16,19 +16,19 @@ limitations under the License.
package common
import "k8s.io/kubernetes/test/e2e/framework"
import "github.com/onsi/ginkgo"
// SIGNetworkDescribe annotates the test with the SIG Network label.
func SIGNetworkDescribe(text string, body func()) bool {
return framework.KubeDescribe("[sig-network] "+text, body)
return ginkgo.Describe("[sig-network] "+text, body)
}
// SIGNodeDescribe annotates the test with the SIG Node label.
func SIGNodeDescribe(text string, body func()) bool {
return framework.KubeDescribe("[sig-node] "+text, body)
return ginkgo.Describe("[sig-node] "+text, body)
}
// SIGStorageDescribe annotates the test with the SIG Storage label.
func SIGStorageDescribe(text string, body func()) bool {
return framework.KubeDescribe("[sig-storage] "+text, body)
return ginkgo.Describe("[sig-storage] "+text, body)
}

View File

@ -16,9 +16,9 @@ limitations under the License.
package network
import "k8s.io/kubernetes/test/e2e/framework"
import "github.com/onsi/ginkgo"
// SIGDescribe annotates the test with the SIG label.
func SIGDescribe(text string, body func()) bool {
return framework.KubeDescribe("[sig-network] "+text, body)
return ginkgo.Describe("[sig-network] "+text, body)
}

View File

@ -16,9 +16,9 @@ limitations under the License.
package node
import "k8s.io/kubernetes/test/e2e/framework"
import "github.com/onsi/ginkgo"
// SIGDescribe annotates the test with the SIG label.
func SIGDescribe(text string, body func()) bool {
return framework.KubeDescribe("[sig-node] "+text, body)
return ginkgo.Describe("[sig-node] "+text, body)
}

View File

@ -16,9 +16,9 @@ limitations under the License.
package storage
import "k8s.io/kubernetes/test/e2e/framework"
import "github.com/onsi/ginkgo"
// SIGDescribe annotates the test with the SIG label.
func SIGDescribe(text string, body func()) bool {
return framework.KubeDescribe("[sig-storage] "+text, body)
return ginkgo.Describe("[sig-storage] "+text, body)
}

View File

@ -16,9 +16,9 @@ limitations under the License.
package node
import "k8s.io/kubernetes/test/e2e/framework"
import "github.com/onsi/ginkgo"
// SIGDescribe annotates the test with the SIG label.
func SIGDescribe(text string, body func()) bool {
return framework.KubeDescribe("[sig-node] "+text, body)
return ginkgo.Describe("[sig-node] "+text, body)
}

View File

@ -16,9 +16,9 @@ limitations under the License.
package kubeadm
import "k8s.io/kubernetes/test/e2e/framework"
import "github.com/onsi/ginkgo"
// Describe annotates the test with the Kubeadm label.
func Describe(text string, body func()) bool {
return framework.KubeDescribe("[sig-cluster-lifecycle] [area-kubeadm] "+text, body)
return ginkgo.Describe("[sig-cluster-lifecycle] [area-kubeadm] "+text, body)
}