kubernetes/test/utils/ktesting
Patrick Ohly 3b63fe83a0 ktesting: support cancellation after WithoutCancel
Not canceling the parent context made sense, but the new context should
be cancelable like any other TContext. Found when passing tCtx.WithoutCancel()
to StartTestServer and the tear-down function got stuck because it couldn't
cancel the context.
2026-03-17 07:50:18 +01:00
..
examples Update example test to use tCtx Eventually 2026-02-27 10:03:29 +05:30
initoption ktesting: support capturing log output 2024-06-26 08:11:31 +02:00
internal ktesting: support capturing log output 2024-06-26 08:11:31 +02:00
assert.go ktesting: remove type alias 2026-02-26 15:42:55 +01:00
assert_test.go Remove usage of deprecated functions from ktesting package 2026-01-29 14:51:59 +05:30
clientcontext.go ktesting: remove type alias 2026-02-26 15:42:55 +01:00
contexthelper.go ktesting: fix potential log panic 2026-02-26 08:44:18 +01:00
contexthelper_test.go ktesting: support cancellation after WithoutCancel 2026-03-17 07:50:18 +01:00
doc.go ktesting: add TContext 2024-02-11 10:51:38 +01:00
errorcontext.go ktesting: remove type alias 2026-02-26 15:42:55 +01:00
errorcontext_test.go Remove usage of deprecated functions from ktesting package 2026-01-29 14:51:59 +05:30
helper_test.go ktesting: run time-sensitive unit tests as synctest 2026-01-27 09:18:10 +01:00
klogcontext.go ktesting: reimplement without interface 2026-01-05 13:45:03 +01:00
ktesting.go Refactor NewTestContext to return Context instead of TContext 2026-02-26 11:27:26 +05:30
main_test.go ktesting: fix setting up progress reporting 2026-01-27 10:13:43 +01:00
signals.go ktesting: abort entire test suite on SIGINT 2026-01-30 12:35:57 +01:00
signals_non_win.go build: remove deprecated '// +build' tag 2025-12-18 12:16:21 +01:00
signals_win.go build: remove deprecated '// +build' tag 2025-12-18 12:16:21 +01:00
stepcontext.go ktesting: remove type alias 2026-02-26 15:42:55 +01:00
stepcontext_test.go Merge pull request #136341 from Karthik-K-N/remove-deprecated-methods 2026-02-02 19:28:31 +05:30
tcontext.go ktesting: remove type alias 2026-02-26 15:42:55 +01:00
tcontext_test.go Remove usage of deprecated functions from ktesting package 2026-01-29 14:51:59 +05:30
withcontext.go ktesting: support cancellation after WithoutCancel 2026-03-17 07:50:18 +01:00