kubernetes/test/utils/ktesting
Patrick Ohly 5447d28c0d ktesting: log warning on timeout
How exactly a test reacts when its context times out is unclear. In the case of
scheduler_perf, the apiserver started to shut down and the test failure then
was about not being able to reach the apiserver, which was a bit confusing.

To make it more obvious why the shutdown starts, a WARNING message gets added
to the test output by ktesting before cancellation and thus before any other
output related to that cancellation.
2024-08-23 14:31:17 +02:00
..
examples ktesting: add TContext 2024-02-11 10:51:38 +01:00
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: doc updates and fixes 2024-02-25 18:13:58 +01:00
assert_test.go ktesting: improve unit test coverage 2024-02-22 12:04:42 +01:00
clientcontext.go ktesting: add TContext 2024-02-11 10:51:38 +01:00
contexthelper.go ktesting: log warning on timeout 2024-08-23 14:31:17 +02:00
contexthelper_test.go ktesting: ut flake fix for CI 2024-02-26 07:26:20 -05:00
doc.go ktesting: add TContext 2024-02-11 10:51:38 +01:00
errorcontext.go ktesting: add missing methods to error context 2024-02-22 11:43:54 +01:00
errorcontext_test.go fix: enable and fixes rules from testifylint on test package 2024-06-30 05:44:47 +00:00
helper_test.go fix: enable and fixes rules from testifylint on test package 2024-06-30 05:44:47 +00:00
klogcontext.go ktesting: add TContext 2024-02-11 10:51:38 +01:00
ktesting.go test: use cancelation from ktesting 2024-03-01 07:51:22 +01:00
main_test.go ktesting: improve unit test coverage 2024-02-22 12:04:42 +01:00
signals.go ktesting: improve unit test coverage 2024-02-22 12:04:42 +01:00
signals_non_win.go ktesting: add TContext 2024-02-11 10:51:38 +01:00
signals_win.go ktesting: add TContext 2024-02-11 10:51:38 +01:00
stepcontext.go ktesting: add Step 2024-06-25 14:00:22 +02:00
stepcontext_test.go fix: enable and fixes rules from testifylint on test package 2024-06-30 05:44:47 +00:00
tcontext.go Merge pull request #125698 from pohly/dra-log-output 2024-06-26 12:01:03 -07:00
tcontext_test.go ktesting: improve unit test coverage 2024-02-22 12:04:42 +01:00
withcontext.go ktesting: add TContext 2024-02-11 10:51:38 +01:00