Skip to content

Commit af04b55

Browse files
authored
fix: Remove hardcoded @assert_eventually 100 times retry (#4318)
This was a subtle and minor bug. Nice catch Borys!
1 parent 53d6b64 commit af04b55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/dragonfly/utility.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,7 @@ async def is_saving(c_client: aioredis.Redis):
706706

707707
def assert_eventually(wrapped=None, *, times=100):
708708
if wrapped is None:
709-
return functools.partial(assert_eventually, times=100)
709+
return functools.partial(assert_eventually, times=times)
710710

711711
@wrapt.decorator
712712
async def wrapper(wrapped, instance, args, kwargs):

0 commit comments

Comments
 (0)