-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix tests for event batch publisher implementation (#924)
This commit addresses test failures that emerged after introducing event batching. The main fixes focus on two areas: 1. Watched Event Delivery - Previously: Events were published immediately to current subscribers. - Now: Events are batched and filtered based on subscription status at publish time. - Added logic to prevent sending watched events to clients who already know the watch state. 2. Attach Event Sequencing - Updated tests to account for new event delivery timing - Modified attach/subscribe sequence for deterministic behavior - Ensured late subscribers can properly receive synced events under the batch system These changes maintain correct event delivery semantics while supporting the new batched publishing mechanism.
- Loading branch information
Showing
3 changed files
with
31 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters