发布

  • test(egress): fix racy broadcaster drop assertion

    frostbyte_neo 发布于 2026-08-21 12:45:59 +00:00

    The drop test relied on the subscriber goroutine not having started
    receiving yet. If it had, ev1 was handed directly to the blocking
    handler (buffer left empty), ev2 got queued instead of dropped, and
    the assertion failed nondeterministically. Add a handshake confirming
    the handler is busy before publishing, and assert a third event's
    drop with the queue provably full.

    下载附件