kubernetes/test/conformance
Patrick Ohly df5d84ae81 e2e: accept context from Ginkgo
Every ginkgo callback should return immediately when a timeout occurs or the
test run manually gets aborted with CTRL-C. To do that, they must take a ctx
parameter and pass it through to all code which might block.

This is a first automated step towards that: the additional parameter got added
with

    sed -i 's/\(framework.ConformanceIt\|ginkgo.It\)\(.*\)func() {$/\1\2func(ctx context.Context) {/' \
        $(git grep -l -e framework.ConformanceIt -e ginkgo.It )
    $GOPATH/bin/goimports -w $(git status | grep modified: | sed -e 's/.* //')

log_test.go was left unchanged.
2022-12-10 19:50:18 +01:00
..
image Define the timeout to 24h for Ginkgo V2 2022-07-08 10:46:11 +08:00
testdata update ineligible endpoints yaml 2022-11-28 08:57:21 +13:00
cf_header.md e2e: accept context from Ginkgo 2022-12-10 19:50:18 +01:00
conformance_test.sh Update the conformance list and doc generation logic 2020-02-24 14:00:44 -08:00
doc.go Generate and format files 2022-07-26 13:14:05 -04:00
gen-conformance-docs.sh add test/conformance/gen-conformance-docs.sh 2021-02-28 13:01:07 -08:00
gen-conformance-yaml.sh port conformance yaml generation to hack 2021-02-28 00:54:54 -08:00
gen-specsummaries.sh Remove generated file rules in make 2022-10-04 08:50:30 -07:00
OWNERS Prune stale entries from OWNERS files 2021-04-13 20:54:50 -04:00
README.md port conformance yaml generation to hack 2021-02-28 00:54:54 -08:00
spec-to-docs.sh nit: newlines 2021-02-28 13:04:21 -08:00
spec-to-yaml.sh nit: newlines 2021-02-28 13:04:21 -08:00
walk_test.go Remove KubeDescribe 2021-03-04 07:54:53 +01:00
walk.go fix a typo in test/conformance/walk.go 2022-09-20 09:23:06 +08:00

This directory contains the regression test for controlling the list of all conformance tests.

If you add or remove a conformance test, this test will fail and you will need to update the golden list of tests stored in testdata/. Changes to that file require review by sig-architecture.

To update the list, run hack/update-conformance-yaml.sh

Add the changed file to your PR, then send for review.