Move common/volume.go test to the storage dir

This commit is contained in:
wojtekt 2021-02-25 20:39:10 +01:00
parent 7791be16eb
commit 67de069dd1
3 changed files with 7 additions and 7 deletions

View File

@ -28,7 +28,6 @@ go_library(
"security_context.go",
"sysctl.go",
"util.go",
"volumes.go",
],
importpath = "k8s.io/kubernetes/test/e2e/common",
deps = [
@ -69,7 +68,6 @@ go_library(
"//test/e2e/framework/pod:go_default_library",
"//test/e2e/framework/rc: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/utils:go_default_library",
"//test/utils/image:go_default_library",

View File

@ -14,6 +14,7 @@ go_library(
"projected_secret.go",
"secrets_volume.go",
"util.go",
"volumes.go",
],
importpath = "k8s.io/kubernetes/test/e2e/common/storage",
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/util/uuid: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/pod:go_default_library",
"//test/e2e/framework/skipper:go_default_library",
"//test/e2e/framework/volume:go_default_library",
"//test/utils/image:go_default_library",
"//vendor/github.com/onsi/ginkgo:go_default_library",
"//vendor/github.com/onsi/gomega:go_default_library",

View File

@ -40,7 +40,7 @@ limitations under the License.
// GlusterFS test is duplicated from test/e2e/volumes.go. Any changes made there
// should be duplicated here
package common
package storage
import (
"context"
@ -56,10 +56,9 @@ import (
"github.com/onsi/ginkgo"
)
// These tests need privileged containers, which are disabled by default. Run
// tests with "--ginkgo.focus=[Feature:Volumes]"
var _ = SIGStorageDescribe("GCP Volumes", func() {
f := framework.NewDefaultFramework("gcp-volume")
// TODO(#99468): Check if these tests are still needed.
var _ = SIGDescribe("Volumes", func() {
f := framework.NewDefaultFramework("volume")
// note that namespace deletion is handled by delete-namespace flag
// filled in BeforeEach