Files
infix/test/infamy
Joachim Wiberg a5c807abe0 test/infamy: make until() exception-safe
Any exception raised by fn() propagated immediately out of the retry
loop, effectively making until() a single-shot call the moment any
transient error occurred.

Fix by wrapping fn() in a try/except inside the loop and treating any
exception as a "not yet" result.  The last exception is preserved and
re-raised if all attempts are exhausted, so failure output is still
meaningful.  Also fix a missing newline at end of file.

Fixes #1403

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2026-02-26 19:05:43 +01:00
..
2025-05-13 16:58:46 +02:00
2025-11-03 15:10:09 +01:00
2025-02-12 10:41:46 +01:00
2024-12-18 14:55:00 +01:00
2024-09-05 07:04:58 +02:00
2025-11-06 13:39:52 +01:00
2024-12-03 16:29:28 +01:00
2026-01-04 12:28:28 +01:00
2025-09-05 16:34:11 +02:00
2024-02-23 14:01:23 +01:00
2026-01-09 11:11:32 +01:00