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:
@@ -185,7 +185,7 @@ var _ = utils.SIGDescribe("EmptyDir wrapper volumes", func() {
|
||||
Testname: EmptyDir Wrapper Volume, ConfigMap volumes, no race
|
||||
Description: Create 50 ConfigMaps Volumes and 5 replicas of pod with these ConfigMapvolumes mounted. Pod MUST NOT fail waiting for Volumes.
|
||||
*/
|
||||
framework.ConformanceIt("should not cause race condition when used for configmaps [Serial]", func(ctx context.Context) {
|
||||
framework.ConformanceIt("should not cause race condition when used for configmaps", f.WithSerial(), func(ctx context.Context) {
|
||||
configMapNames := createConfigmapsForRace(ctx, f)
|
||||
ginkgo.DeferCleanup(deleteConfigMaps, f, configMapNames)
|
||||
volumes, volumeMounts := makeConfigMapVolumes(configMapNames)
|
||||
@@ -198,7 +198,7 @@ var _ = utils.SIGDescribe("EmptyDir wrapper volumes", func() {
|
||||
// This test uses deprecated GitRepo VolumeSource so it MUST not be promoted to Conformance.
|
||||
// To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.
|
||||
// This projected volume maps approach can also be tested with secrets and downwardapi VolumeSource but are less prone to the race problem.
|
||||
ginkgo.It("should not cause race condition when used for git_repo [Serial] [Slow]", func(ctx context.Context) {
|
||||
f.It("should not cause race condition when used for git_repo", f.WithSerial(), f.WithSlow(), func(ctx context.Context) {
|
||||
gitURL, gitRepo, cleanup := createGitServer(ctx, f)
|
||||
defer cleanup()
|
||||
volumes, volumeMounts := makeGitRepoVolumes(gitURL, gitRepo)
|
||||
|
Reference in New Issue
Block a user