Skip to content

Commit c799d9b

Browse files
authored
fix: increase timeout for test_replication_timeout_on_full_sync (#4851)
1 parent 4612aec commit c799d9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: tests/dragonfly/replication_test.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2332,7 +2332,7 @@ async def test_announce_ip_port(df_factory):
23322332
async def test_replication_timeout_on_full_sync(df_factory: DflyInstanceFactory, df_seeder_factory):
23332333
# setting replication_timeout to a very small value to force the replica to timeout
23342334
master = df_factory.create(
2335-
replication_timeout=100, vmodule="replica=2,dflycmd=2,snapshot=2,rdb_save=1,rdb_load=1"
2335+
replication_timeout=100, vmodule="replica=2,dflycmd=2,snapshot=1,rdb_save=1,rdb_load=1"
23362336
)
23372337
replica = df_factory.create()
23382338

@@ -2365,7 +2365,7 @@ async def test_replication_timeout_on_full_sync(df_factory: DflyInstanceFactory,
23652365
seeder.stop()
23662366
await seeder_task
23672367

2368-
await check_all_replicas_finished([c_replica], c_master, timeout=30)
2368+
await check_all_replicas_finished([c_replica], c_master, timeout=60)
23692369
await assert_replica_reconnections(replica, 0)
23702370

23712371

0 commit comments

Comments
 (0)