Skip to content

Commit 98132ad

Browse files
committed
test(retry): avoid claiming full reset recovery
1 parent 8f3bccd commit 98132ad

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎tests/test_retry_remedy.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ def test_header_name_is_matched_case_insensitively(self, strategy):
4343

4444

4545
class TestBurstingIsStillRetried:
46-
def test_hourly_circuit_breaker_retries_after_its_reset(self, strategy):
46+
def test_hourly_circuit_breaker_preserves_retry_behavior(self, strategy):
4747
# The API deliberately emits `state=exhausted` for this recoverable
4848
# safety limit. Looking at state or remaining alone would suppress the
49-
# only retry that can succeed after its short reset window.
49+
# existing bounded retry path even though this is not a durable quota.
5050
headers = {
5151
"X-RateLimit-State": "exhausted",
5252
"X-RateLimit-Window": "hourly_circuit_breaker",

0 commit comments

Comments
 (0)