Skip to content

Commit 8a1bc06

Browse files
committed
fix tests
1 parent a7ffda8 commit 8a1bc06

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

redis/asyncio/sentinel.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,6 @@ async def get_connection(
253253
should go to the same replica.
254254
"""
255255
# If not an iter command or in master mode, call superclass' implementation
256-
breakpoint()
257256
if not (iter_req_id := options.get("iter_req_id", None)) or self.is_master:
258257
return await super().get_connection(command_name, *keys, **options)
259258

@@ -293,9 +292,7 @@ async def get_connection(
293292
# This will connect to the host and port of the replica
294293
else:
295294
await connection.connect_to_address((server_host, server_port))
296-
breakpoint()
297295
await self.ensure_connection_connected_to_address(connection)
298-
breakpoint()
299296
except BaseException:
300297
# Release the connection back to the pool so that we don't
301298
# leak it

redis/sentinel.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ def _connect_retry(self, same_address: bool = False):
5454
if self.connection_pool.is_master:
5555
self.connect_to(self.connection_pool.get_master_address())
5656
else:
57-
breakpoint()
5857
for slave in self.connection_pool.rotate_slaves():
5958
try:
6059
return self.connect_to(slave)

0 commit comments

Comments
 (0)