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:
ashotland 2023-04-24 21:55:11 +03:00 committed by GitHub
parent fd7c973ff8
commit 6a26d41e90
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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")