mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-10 18:05:44 +02:00
fix(pytest): fix failing test test_replication_timeout_on_full_sync (#4370)
fix: increase timeout fix: remove skip Signed-off-by: adi_holden <adi@dragonflydb.io>
This commit is contained in:
parent
966a1a46fd
commit
14fda354cc
1 changed files with 1 additions and 2 deletions
|
@ -2274,7 +2274,6 @@ async def test_announce_ip_port(df_factory):
|
|||
assert port == "1337"
|
||||
|
||||
|
||||
@pytest.mark.skip("Flaky test")
|
||||
async def test_replication_timeout_on_full_sync(df_factory: DflyInstanceFactory, df_seeder_factory):
|
||||
# setting replication_timeout to a very small value to force the replica to timeout
|
||||
master = df_factory.create(replication_timeout=100, vmodule="replica=2,dflycmd=2")
|
||||
|
@ -2309,7 +2308,7 @@ async def test_replication_timeout_on_full_sync(df_factory: DflyInstanceFactory,
|
|||
seeder.stop()
|
||||
await seeder_task
|
||||
|
||||
await check_all_replicas_finished([c_replica], c_master)
|
||||
await check_all_replicas_finished([c_replica], c_master, timeout=30)
|
||||
await assert_replica_reconnections(replica, 0)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue