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:
Patrick Ohly
2023-06-20 10:27:14 +02:00
parent 833156b77e
commit f2cfbf44b1
230 changed files with 834 additions and 680 deletions

View File

@@ -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