mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-11 18:35:46 +02:00
test(sentinel_test.py): increase timeout in failover test (#1133)
* test(sentinel_test.py): increase timeout from 10 to 15 seconds in test_failover function Signed-off-by: ashotland <ari@dragonflydb.io> --------- Signed-off-by: ashotland <ari@dragonflydb.io>
This commit is contained in:
parent
fd7c973ff8
commit
6a26d41e90
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ async def test_failover(df_local_factory, sentinel, port_picker):
|
|||
await await_for(
|
||||
lambda: master_client.get("key"),
|
||||
lambda val: val == b"value",
|
||||
10, "Timeout waiting for key to exist in replica."
|
||||
15, "Timeout waiting for key to exist in replica."
|
||||
)
|
||||
except AssertionError:
|
||||
syncid, r_offset = await master_client.execute_command("DEBUG REPLICA OFFSET")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue