Skip to content

test(foundation): add concurrent tests for CircuitBreaker#1593

Open
SH20RAJ wants to merge 1 commit intomofa-org:mainfrom
SH20RAJ:test/circuitbreaker-concurrency
Open

test(foundation): add concurrent tests for CircuitBreaker#1593
SH20RAJ wants to merge 1 commit intomofa-org:mainfrom
SH20RAJ:test/circuitbreaker-concurrency

Conversation

@SH20RAJ
Copy link
Copy Markdown
Contributor

@SH20RAJ SH20RAJ commented Apr 7, 2026

Adds tests that exercise the CircuitBreaker under concurrent load to verify correct state transitions and atomicity. Tests: 1) Multiple concurrent failures trigger Open state, 2) After timeout, multiple concurrent successes close the circuit. This ensures the RwLock-based state machine behaves correctly under race conditions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant