Files
kubernetes/test
Patrick Ohly 1b5da1035a e2e framework: include additional stack backtrace in failures
When a Gomega failure is converted to an error, the stack at the time when the
failure occurs may be useful: error wrapping provides some bread crumbs that
can be followed to determine where the failure really occurred, but error
wrapping may be missing or ambiguous.

To provide the additional information, a FailureError now includes a full stack
backtrace. The backtrace intentionally makes no attempt to exclude framework
functions besides the gomega support itself because helpers like
e2e/framework/pod may be relevant.

That backtrace is not included in the failure message for the sake of
brevity. Instead, it gets logged as part of the test's output.
2023-01-31 07:52:26 +01:00
..
2022-12-16 20:14:04 +01:00
2022-06-15 13:38:48 +09:00
2023-01-28 23:32:50 -05:00
2023-01-27 17:24:00 +01:00
2023-01-09 09:54:10 +01:00