mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 22:17:14 +00:00
Remove statefulset e2e test setup for alpha
This commit is contained in:
parent
c83a924628
commit
008278d25e
@ -66,22 +66,11 @@ const (
|
|||||||
// GCE Quota requirements: 3 pds, one per pet manifest declared above.
|
// GCE Quota requirements: 3 pds, one per pet manifest declared above.
|
||||||
// GCE Api requirements: nodes and master need storage r/w permissions.
|
// GCE Api requirements: nodes and master need storage r/w permissions.
|
||||||
var _ = framework.KubeDescribe("StatefulSet [Slow] [Feature:PetSet]", func() {
|
var _ = framework.KubeDescribe("StatefulSet [Slow] [Feature:PetSet]", func() {
|
||||||
options := framework.FrameworkOptions{
|
f := framework.NewDefaultFramework("statefulset")
|
||||||
GroupVersion: &unversioned.GroupVersion{Group: apps.GroupName, Version: "v1beta1"},
|
|
||||||
}
|
|
||||||
f := framework.NewFramework("petset", options, nil)
|
|
||||||
var ns string
|
var ns string
|
||||||
var c clientset.Interface
|
var c clientset.Interface
|
||||||
|
|
||||||
BeforeEach(func() {
|
BeforeEach(func() {
|
||||||
// StatefulSet is in alpha, so it's disabled on some platforms. We skip this
|
|
||||||
// test if a resource get fails on non-GCE platforms.
|
|
||||||
// In theory, tests that restart pets should pass on any platform with a
|
|
||||||
// dynamic volume provisioner.
|
|
||||||
if !framework.ProviderIs("gce") {
|
|
||||||
framework.SkipIfMissingResource(f.ClientPool, unversioned.GroupVersionResource{Group: apps.GroupName, Version: "v1beta1", Resource: "statefulsets"}, f.Namespace.Name)
|
|
||||||
}
|
|
||||||
|
|
||||||
c = f.ClientSet
|
c = f.ClientSet
|
||||||
ns = f.Namespace.Name
|
ns = f.Namespace.Name
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user