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)
This commit is contained in:
@@ -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}
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user