mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-12-15 20:37:39 +00:00
e2e: use framework labels
This changes the text registration so that tags for which the framework has a dedicated API (features, feature gates, slow, serial, etc.) those APIs are used. Arbitrary, custom tags are still left in place for now.
This commit is contained in:
@@ -49,7 +49,7 @@ var _ = SIGDescribe("HostPath", func() {
|
||||
Create a Pod with host volume mounted. The volume mounted MUST be a directory with permissions mode -rwxrwxrwx and that is has the sticky bit (mode flag t) set.
|
||||
This test is marked LinuxOnly since Windows does not support setting the sticky bit (mode flag t).
|
||||
*/
|
||||
ginkgo.It("should give a volume the correct mode [LinuxOnly] [NodeConformance]", func(ctx context.Context) {
|
||||
f.It("should give a volume the correct mode [LinuxOnly]", f.WithNodeConformance(), func(ctx context.Context) {
|
||||
source := &v1.HostPathVolumeSource{
|
||||
Path: "/tmp",
|
||||
}
|
||||
@@ -66,7 +66,7 @@ var _ = SIGDescribe("HostPath", func() {
|
||||
})
|
||||
|
||||
// This test requires mounting a folder into a container with write privileges.
|
||||
ginkgo.It("should support r/w [NodeConformance]", func(ctx context.Context) {
|
||||
f.It("should support r/w", f.WithNodeConformance(), func(ctx context.Context) {
|
||||
filePath := path.Join(volumePath, "test-file")
|
||||
retryDuration := 180
|
||||
source := &v1.HostPathVolumeSource{
|
||||
@@ -94,7 +94,7 @@ var _ = SIGDescribe("HostPath", func() {
|
||||
})
|
||||
})
|
||||
|
||||
ginkgo.It("should support subPath [NodeConformance]", func(ctx context.Context) {
|
||||
f.It("should support subPath", f.WithNodeConformance(), func(ctx context.Context) {
|
||||
subPath := "sub-path"
|
||||
fileName := "test-file"
|
||||
retryDuration := 180
|
||||
|
||||
Reference in New Issue
Block a user