Files
buzz/crates
npub1mn7jgtj4w2pd0g0zeuhxsa6jy6p0rewxz4kujt98my82ahfmp72sxjexk7 229beb1d12 test(relay): cover scheduler-tick delivery of due reminders
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>
2026-06-15 22:46:15 -04:00
..
2026-06-11 15:50:44 -04:00