Skip to content

Commit b4797e0

Browse files
committed
e2e-tests.md: explain usage of Feature tag for alpha/beta tests
While we now have the ability to support tests properly which only depend on alpha or beta feature gates, we still haven't migrated all jobs. So for now, developers still need to follow the old practice of tagging such tests with both [Feature] and [FeatureGate].
1 parent d5a4ac9 commit b4797e0

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

contributors/devel/sig-testing/e2e-tests.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,13 @@ refine requirements:
603603
Conceptually, these are non-default requirements as defined above under
604604
`[Feature:.+]`, but for historic reasons and the sake of brevity they don't
605605
have that prefix when embedded in test names. They *do* have that prefix in the
606-
Ginkgo v2 label, so use e.g. `--filter-label=Feature: containsAny Alpha`.
606+
Ginkgo v2 label, so use e.g. `--filter-label=Feature: containsAny Alpha` to
607+
run them. The normal `--filter-label=Feature: isEmpty` excludes them.
608+
609+
Note that at the moment, not all jobs filter out tests with `Alpha` or `Beta`
610+
requirements like that. Therefore all tests with such a requirement also
611+
have to be annotated with a `[Feature]` tag. This restriction will be lifted
612+
once migration of jobs to `--filter-label` is completed.
607613
608614
Every test should be owned by a [SIG](/sig-list.md),
609615
and have a corresponding `[sig-<name>]` label.

0 commit comments

Comments
 (0)