Files
aether/nats_eventbus_integration_test.go
Claude Code b67417ac68
Some checks failed
CI / build (push) Successful in 20s
CI / integration (push) Failing after 1m29s
fix(test): Fix flaky NATS EventBus integration tests
- HighThroughput: Start consuming events in goroutine BEFORE publishing
  to avoid buffer overflow (100-event buffer was filling up, dropping 900 events)
- EventOrdering: Handle both int (local delivery) and float64 (JSON/NATS delivery)
  types for sequence field assertion
- ConcurrentPublishSubscribe: Same fix as HighThroughput - consume concurrently

The EventBus uses non-blocking sends with a 100-event buffer. When publishing
faster than consuming, events are silently dropped. These tests now properly
consume events concurrently to prevent buffer overflow.

Closes #138

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 00:24:29 +01:00

33 KiB