mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-03-31 14:55:27 -04:00
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.
|
||
|---|---|---|
| .. | ||
| image | ||
| testdata | ||
| cf_header.md | ||
| conformance_test.sh | ||
| doc.go | ||
| gen-conformance-docs.sh | ||
| gen-conformance-yaml.sh | ||
| gen-specsummaries.sh | ||
| OWNERS | ||
| README.md | ||
| spec-to-docs.sh | ||
| spec-to-yaml.sh | ||
| walk.go | ||
| walk_test.go | ||
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.