Skip to content

Conversation

@adriangudas
Copy link

@adriangudas adriangudas commented Jan 5, 2026

Adds a mock to the existing test for test_both_breakers_record_requests to increase coverage and ensure mark_success is actually being called on both breakers.

Adds a test to ensure that dual circuit breaker behaviour is entirely disabled when it's not specified (i.e., tests the behaviour when the Semian configuration looks like the old configuration).

Minor fix to the demo in examples/dual_circuit_breaker_demo.rb to make the ExperimentFlags module a class.

No functionality is being changed by this PR, just tests and the demo.

@adriangudas adriangudas merged commit ce5f917 into pid-take-2 Jan 5, 2026
35 checks passed
@adriangudas adriangudas deleted the adriangudas/adaptive-tests-misc-updates-Jan5 branch January 5, 2026 20:56
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.

2 participants