kubernetes/test/e2e/apps
Patrick Ohly 2296fc4b1f e2e apps: fix "context canceled" error
Using the ctx of the ginkgo.BeforeEach in callbacks that are invoked after the
BeforeEach is done causes "context canceled" errors. Previously, this code used
context.TODO(). The best solution is to create a new context and cancel it
during test cleanup, then that context can be used for the API calls and as
stop channel.
2022-12-18 16:10:15 +01:00
..
controller_revision.go e2e: use Ginkgo context 2022-12-16 20:14:04 +01:00
cronjob.go e2e: use Ginkgo context 2022-12-16 20:14:04 +01:00
daemon_restart.go e2e apps: fix "context canceled" error 2022-12-18 16:10:15 +01:00
daemon_set.go e2e: use Ginkgo context 2022-12-16 20:14:04 +01:00
deployment.go e2e: use Ginkgo context 2022-12-16 20:14:04 +01:00
disruption.go e2e: use Ginkgo context 2022-12-16 20:14:04 +01:00
framework.go update ginkgo from v1 to v2 and gomega to 1.19.0 2022-07-08 10:44:46 +08:00
job.go e2e: use Ginkgo context 2022-12-16 20:14:04 +01:00
OWNERS Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
rc.go e2e: use Ginkgo context 2022-12-16 20:14:04 +01:00
replica_set.go e2e: use Ginkgo context 2022-12-16 20:14:04 +01:00
statefulset.go e2e: use Ginkgo context 2022-12-16 20:14:04 +01:00
ttl_after_finished.go e2e: use Ginkgo context 2022-12-16 20:14:04 +01:00
types.go Update cronjob integration test to batch/v1 2021-06-04 21:04:21 +08:00
wait.go e2e: use Ginkgo context 2022-12-16 20:14:04 +01:00