Brooklyn Nicholson
40e4af42b8
test(cli): let the lingerer task finish cancelling before asserting
...
uvicorn 0.41's shutdown() requests task.cancel() on grace-timeout expiry;
the CancelledError is only delivered on the lingerer's next loop pass, so
asserting task.cancelled() immediately after shutdown() returns flaked.
Await the lingerer once (suppressing CancelledError) so the assertion
checks the cancellation that actually landed.
Co-authored-by: liuhao1024 <sunsky.lau@gmail.com >
2026-09-29 17:13:53 -05:00
..
2026-09-27 11:52:04 -04:00
2026-09-28 19:49:00 -04:00
2026-09-29 15:57:52 -05:00
2026-09-29 14:55:15 -04:00
2026-09-29 15:58:55 +05:30
2026-09-28 12:27:19 -05:00
2026-09-29 18:33:44 +05:30
2026-09-28 10:21:41 -07:00
2026-09-26 11:57:54 -07:00
2026-09-28 10:21:41 -07:00
2026-09-29 15:57:52 -05:00
2026-09-29 17:13:53 -05:00
2026-09-29 15:58:55 +05:30
2026-09-27 04:15:09 -07:00
2026-09-24 17:27:45 -04:00
2026-09-29 15:58:55 +05:30
2026-09-29 17:29:05 +00:00
2026-09-29 15:12:04 -04:00
2026-09-29 15:28:19 -05:00
2026-09-29 16:29:04 -04:00
2026-09-27 03:34:56 -07:00
2026-09-29 15:05:57 -04:00
2026-09-24 14:08:22 -04:00
2026-09-29 02:40:55 +05:30
2026-09-25 14:15:22 -04:00
2026-09-28 02:26:21 -07:00
2026-09-25 12:49:56 -05:00
2026-09-24 14:08:22 -04:00
2026-09-24 14:47:06 -04:00
2026-09-25 01:17:12 -04:00
2026-09-28 12:23:25 -07:00
2026-09-29 15:58:55 +05:30
2026-09-24 09:20:50 -04:00
2026-09-27 22:04:26 -07:00
2026-09-24 14:08:22 -04:00
2026-09-24 22:12:34 -04:00
2026-09-26 18:16:44 -05:00
2026-09-24 16:17:35 -04:00
2026-09-26 23:49:25 +05:30