Skip to content

Commit 5634480

Browse files
authored
Merge pull request #8229 from kannon92/deprecate-node-feature
drop mention of NodeFeature
2 parents ac80043 + 6050d74 commit 5634480

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

+4-4
Original file line numberDiff line numberDiff line change
@@ -188,10 +188,10 @@ Image configuration files can further influence how FOCUS and SKIP match test ca
188188
For example:
189189
190190
```sh
191-
--focus="\[NodeFeature:.+\]" --skip="\[Flaky\]|\[Serial\]"
191+
--focus="\[Feature:.+\]" --skip="\[Flaky\]|\[Serial\]"
192192
```
193193
194-
runs all e2e tests labeled `"[NodeFeature:*]"` and will skip any tests labeled `"[Flaky]"` or `"[Serial]"`.
194+
runs all e2e tests labeled `"[Feature:*]"` and will skip any tests labeled `"[Flaky]"` or `"[Serial]"`.
195195
196196
Two example e2e tests that match this expression are:
197197
* https://github.com/kubernetes/kubernetes/blob/0e2220b4462130ae8a22ed657e8979f7844e22c1/test/e2e_node/security_context_test.go#L155
@@ -235,15 +235,15 @@ To run a particular e2e test, simply pass the Grinkgo `It` string to the `--focu
235235
For example, suppose we have the following test case: https://github.com/kubernetes/kubernetes/blob/0e2220b4462130ae8a22ed657e8979f7844e22c1/test/e2e_node/security_context_test.go#L175. We could select this test case by adding the argument:
236236
237237
```sh
238-
--focus="should not show its pid in the non-hostpid containers \[NodeFeature:HostAccess\]"
238+
--focus="should not show its pid in the non-hostpid containers \[Feature:HostAccess\]"
239239
```
240240
241241
## Run all tests related to a feature
242242
243243
In contrast, to run all node e2e tests related to the "HostAccess" feature one could run:
244244
245245
```sh
246-
--focus="\[NodeFeature:HostAccess\]"
246+
--focus="\[Feature:HostAccess\]"
247247
```
248248
249249
## Run tests continually until they fail

0 commit comments

Comments
 (0)