fix: take_over_counters (#4890)

* increase delay for takeover

Signed-off-by: kostas <kostas@dragonflydb.io>
This commit is contained in:
Kostas Kyrimis 2025-04-09 09:20:21 +03:00 committed by GitHub
parent addf0497bf
commit 2d96a57edf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1251,7 +1251,7 @@ async def test_take_over_counters(df_factory, master_threads, replica_threads):
assert time.time() - start < 10
async def delayed_takeover():
await asyncio.sleep(0.3)
await asyncio.sleep(1)
await c1.execute_command(f"REPLTAKEOVER 5")
_, _, *results = await asyncio.gather(