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:
adiholden 2024-12-25 14:23:33 +02:00 committed by GitHub
parent 966a1a46fd
commit 14fda354cc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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