kshitijk4poor
cdb8fd3ef2
test(codex): give the no-socket drain-skip test deterministic teeth
...
The test previously asserted only wall-clock elapsed < 2s, which passes
whether or not the drain is skipped because the fake stream ends
immediately. Record any read past the terminal frame and assert there
were none, so re-enabling the drain without a shutdown-capable socket
fails deterministically. Also inline the single-use _post_terminal_socket
helper at its call site (keeping the exception guard, since the drain
sits outside the inner try; _socket_from_response already handles a
None response), and drop `x and` / bare-truthiness preambles that the
following set-equality asserts already imply.
2026-10-03 16:31:39 +05:30
..
2026-10-03 16:29:34 +05:30
2026-10-02 00:18:00 +05:30
2026-09-29 15:58:55 +05:30
2026-10-03 16:30:27 +05:30
2026-09-28 19:49:00 -04:00
2026-10-03 16:30:27 +05:30
2026-09-29 15:58:55 +05:30
2026-10-03 16:29:34 +05:30
2026-10-01 22:43:34 +05:30
2026-10-01 23:33:52 +05:30
2026-10-01 12:08:13 -07:00
2026-10-03 16:30:48 +05:30
2026-09-29 18:33:44 +05:30
2026-10-01 02:28:11 +00:00
2026-09-29 04:15:21 +05:30
2026-09-29 15:58:55 +05:30
2026-09-29 18:47:44 -05:00
2026-09-29 15:58:55 +05:30
2026-09-29 11:43:34 -05:00
2026-09-29 22:57:48 -04:00
2026-10-02 22:59:00 -05:00
2026-09-29 19:31:49 -05:00
2026-10-02 00:03:01 +05:30
2026-10-02 01:18:03 +05:30
2026-10-01 02:55:59 -05:00
2026-10-01 09:26:00 -04:00
2026-09-30 22:30:35 -04:00
2026-10-02 16:44:56 -07:00
2026-10-01 23:50:31 -07:00
2026-10-02 05:10:06 -07:00
2026-10-02 04:09:57 -07:00
2026-10-02 04:39:28 -07:00
2026-10-02 04:39:28 -07:00
2026-10-02 12:29:16 -04:00
2026-10-03 16:30:08 +05:30
2026-10-02 20:28:55 -05:00
2026-10-02 20:29:34 -05:00
2026-10-01 23:39:32 +05:30
2026-10-01 16:18:23 +05:30
2026-10-01 16:18:23 +05:30
2026-09-30 14:23:51 -04:00
2026-10-01 11:45:41 -07:00
2026-10-02 00:52:27 +05:30
2026-10-02 00:52:27 +05:30
2026-10-01 12:08:13 -07:00
2026-09-29 18:49:11 -05:00
2026-09-29 18:05:05 -05:00
2026-10-02 18:35:38 -05:00
2026-10-02 12:29:16 -04:00
2026-10-01 16:18:23 +05:30
2026-10-03 16:29:34 +05:30
2026-10-02 00:52:27 +05:30
2026-10-02 16:29:18 -05:00
2026-09-29 12:16:43 -04:00
2026-10-01 16:18:23 +05:30
2026-10-03 16:31:39 +05:30
2026-10-02 00:50:20 +05:30
2026-10-02 01:18:03 +05:30
2026-09-29 22:57:48 -04:00
2026-09-29 18:33:44 +05:30
2026-10-02 20:18:26 -05:00
2026-09-29 18:05:05 -05:00
2026-09-29 18:05:05 -05:00
2026-09-29 18:05:05 -05:00
2026-09-29 18:05:05 -05:00
2026-10-03 16:26:31 +05:30
2026-10-02 00:53:19 +05:30
2026-09-29 14:53:00 -05:00
2026-10-01 00:42:30 -05:00
2026-09-29 15:57:52 -05:00
2026-10-02 00:50:20 +05:30
2026-10-01 03:27:39 -05:00
2026-10-02 00:50:20 +05:30
2026-10-02 13:50:23 -04:00