mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Move common/volume.go test to the storage dir
This commit is contained in:
parent
7791be16eb
commit
67de069dd1
@ -28,7 +28,6 @@ go_library(
|
|||||||
"security_context.go",
|
"security_context.go",
|
||||||
"sysctl.go",
|
"sysctl.go",
|
||||||
"util.go",
|
"util.go",
|
||||||
"volumes.go",
|
|
||||||
],
|
],
|
||||||
importpath = "k8s.io/kubernetes/test/e2e/common",
|
importpath = "k8s.io/kubernetes/test/e2e/common",
|
||||||
deps = [
|
deps = [
|
||||||
@ -69,7 +68,6 @@ go_library(
|
|||||||
"//test/e2e/framework/pod:go_default_library",
|
"//test/e2e/framework/pod:go_default_library",
|
||||||
"//test/e2e/framework/rc:go_default_library",
|
"//test/e2e/framework/rc:go_default_library",
|
||||||
"//test/e2e/framework/skipper:go_default_library",
|
"//test/e2e/framework/skipper:go_default_library",
|
||||||
"//test/e2e/framework/volume:go_default_library",
|
|
||||||
"//test/e2e/framework/websocket:go_default_library",
|
"//test/e2e/framework/websocket:go_default_library",
|
||||||
"//test/utils:go_default_library",
|
"//test/utils:go_default_library",
|
||||||
"//test/utils/image:go_default_library",
|
"//test/utils/image:go_default_library",
|
||||||
|
@ -14,6 +14,7 @@ go_library(
|
|||||||
"projected_secret.go",
|
"projected_secret.go",
|
||||||
"secrets_volume.go",
|
"secrets_volume.go",
|
||||||
"util.go",
|
"util.go",
|
||||||
|
"volumes.go",
|
||||||
],
|
],
|
||||||
importpath = "k8s.io/kubernetes/test/e2e/common/storage",
|
importpath = "k8s.io/kubernetes/test/e2e/common/storage",
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
@ -25,9 +26,11 @@ go_library(
|
|||||||
"//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
|
"//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
|
||||||
"//staging/src/k8s.io/apimachinery/pkg/util/uuid:go_default_library",
|
"//staging/src/k8s.io/apimachinery/pkg/util/uuid:go_default_library",
|
||||||
"//staging/src/k8s.io/apiserver/pkg/util/feature:go_default_library",
|
"//staging/src/k8s.io/apiserver/pkg/util/feature:go_default_library",
|
||||||
|
"//staging/src/k8s.io/client-go/kubernetes:go_default_library",
|
||||||
"//test/e2e/framework:go_default_library",
|
"//test/e2e/framework:go_default_library",
|
||||||
"//test/e2e/framework/pod:go_default_library",
|
"//test/e2e/framework/pod:go_default_library",
|
||||||
"//test/e2e/framework/skipper:go_default_library",
|
"//test/e2e/framework/skipper:go_default_library",
|
||||||
|
"//test/e2e/framework/volume:go_default_library",
|
||||||
"//test/utils/image:go_default_library",
|
"//test/utils/image:go_default_library",
|
||||||
"//vendor/github.com/onsi/ginkgo:go_default_library",
|
"//vendor/github.com/onsi/ginkgo:go_default_library",
|
||||||
"//vendor/github.com/onsi/gomega:go_default_library",
|
"//vendor/github.com/onsi/gomega:go_default_library",
|
||||||
|
@ -40,7 +40,7 @@ limitations under the License.
|
|||||||
// GlusterFS test is duplicated from test/e2e/volumes.go. Any changes made there
|
// GlusterFS test is duplicated from test/e2e/volumes.go. Any changes made there
|
||||||
// should be duplicated here
|
// should be duplicated here
|
||||||
|
|
||||||
package common
|
package storage
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
@ -56,10 +56,9 @@ import (
|
|||||||
"github.com/onsi/ginkgo"
|
"github.com/onsi/ginkgo"
|
||||||
)
|
)
|
||||||
|
|
||||||
// These tests need privileged containers, which are disabled by default. Run
|
// TODO(#99468): Check if these tests are still needed.
|
||||||
// tests with "--ginkgo.focus=[Feature:Volumes]"
|
var _ = SIGDescribe("Volumes", func() {
|
||||||
var _ = SIGStorageDescribe("GCP Volumes", func() {
|
f := framework.NewDefaultFramework("volume")
|
||||||
f := framework.NewDefaultFramework("gcp-volume")
|
|
||||||
|
|
||||||
// note that namespace deletion is handled by delete-namespace flag
|
// note that namespace deletion is handled by delete-namespace flag
|
||||||
// filled in BeforeEach
|
// filled in BeforeEach
|
Loading…
Reference in New Issue
Block a user