Files
kubernetes/test/e2e/windows
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
..
2022-12-10 19:50:18 +01:00
2022-12-10 19:50:18 +01:00
2022-12-10 19:50:18 +01:00
2022-12-10 19:50:18 +01:00
2022-12-10 19:50:18 +01:00
2022-12-10 19:50:18 +01:00
2022-12-10 19:50:18 +01:00

Notes to run sig-windows tests

  1. Prereqs:
KUBECONFIG=path/to/kubeconfig
curl https://raw.githubusercontent.com/kubernetes-sigs/windows-testing/master/images/image-repo-list -o repo_list
export KUBE_TEST_REPO_LIST=$(pwd)/repo_list
  1. Run only sig-windows tests:

    ./e2e.test --provider=local --ginkgo.noColor --ginkgo.focus="\[sig-windows\]|\[Feature:Windows\]" --node-os-distro="windows"
    

e2e_node/density_test diff

This test is borrowed from the density test in e2e_node/density_test. All but the first test were omitted as well as some logging.