mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-11 18:35:46 +02:00
fix: take_over_counters (#4890)
* increase delay for takeover Signed-off-by: kostas <kostas@dragonflydb.io>
This commit is contained in:
parent
addf0497bf
commit
2d96a57edf
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue