From 877d10fe775351ed66ffdbc630c178bfa47f9896 Mon Sep 17 00:00:00 2001 From: liuhao1024 Date: Sun, 30 Aug 2026 16:43:14 +0800 Subject: [PATCH] test(gateway): update restart-notification metadata assertions for interim marker The home-channel/thread assertions in test_restart_home_channel_notification_not_deduped_across_threads expected raw thread metadata and None; shutdown sends now carry _interim_send per #98432. Align both assertions. (cherry picked from commit c4ec949ae77ae5611684061a4afb8d96af335e26) --- tests/gateway/test_restart_resume_pending.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/gateway/test_restart_resume_pending.py b/tests/gateway/test_restart_resume_pending.py index 9ac0142975..b36d5f73a6 100644 --- a/tests/gateway/test_restart_resume_pending.py +++ b/tests/gateway/test_restart_resume_pending.py @@ -964,8 +964,8 @@ async def test_restart_home_channel_notification_not_deduped_across_threads(): await runner._notify_active_sessions_of_shutdown() assert len(adapter.sent) == 2 - assert adapter.sent_calls[0][2] == {"thread_id": "topic-7"} - assert adapter.sent_calls[1][2] is None + assert adapter.sent_calls[0][2] == {"thread_id": "topic-7", "_interim_send": True} + assert adapter.sent_calls[1][2] == {"_interim_send": True} # ---------------------------------------------------------------------------