Add integration tests for NATSEventBus
All checks were successful
CI / build (push) Successful in 16s
All checks were successful
CI / build (push) Successful in 16s
Add comprehensive integration tests that verify NATSEventBus behavior with a real NATS server. Tests cover: - Cross-node event delivery (multiple NATSEventBus instances) - Namespace isolation with single and multiple NATS connections - High-throughput scenarios (1000 events) - Event ordering within namespace - No cross-namespace leakage verification - Concurrent publish/subscribe operations - Multiple subscribers to same namespace - Event metadata preservation across NATS - Large event payload handling (100KB) - Subscribe/unsubscribe lifecycle - Reconnection behavior - Graceful degradation under load - Benchmarks for publish and publish-receive Tests require a running NATS server and are tagged with +build integration. Run with: go test -tags=integration -v ./... Closes #18 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit was merged in pull request #50.
This commit is contained in:
1205
nats_eventbus_integration_test.go
Normal file
1205
nats_eventbus_integration_test.go
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user