mirror of
https://github.com/block/buzz.git
synced 2026-10-31 06:21:34 +00:00
The existing 28 e2e reminder tests exercise validation and author-only reads, but all run against the relay without depending on the scheduler — the due-time push path that is the scheduler's reason to exist had no coverage. Add a positive test that isolates the scheduler from ingest fan-out: submit a reminder due a few seconds out with no socket connected (ingest fan-out has no recipient), then subscribe and drain the historical EOSE before not_before passes (scheduler cannot have fired). The post-EOSE live delivery can only come from the scheduler claiming and publishing the due reminder, so the test fails by timeout when the scheduler is disabled. Co-authored-by: Will Pfleger <pfleger.will@gmail.com> Signed-off-by: Will Pfleger <pfleger.will@gmail.com>