Skip to content

Commit 2d96a57

Browse files
authored
fix: take_over_counters (#4890)
* increase delay for takeover Signed-off-by: kostas <[email protected]>
1 parent addf049 commit 2d96a57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/dragonfly/replication_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1251,7 +1251,7 @@ async def block_during_takeover():
12511251
assert time.time() - start < 10
12521252

12531253
async def delayed_takeover():
1254-
await asyncio.sleep(0.3)
1254+
await asyncio.sleep(1)
12551255
await c1.execute_command(f"REPLTAKEOVER 5")
12561256

12571257
_, _, *results = await asyncio.gather(

0 commit comments

Comments
 (0)