1
0
Fork 0
mirror of https://github.com/dragonflydb/dragonfly.git synced 2024-12-14 11:58:02 +00:00

fix: test_replicate_old_master missing serialization_max_chunk_size (#3498)

This commit is contained in:
Kostas Kyrimis 2024-08-11 18:41:56 +03:00 committed by GitHub
parent db7bd0670a
commit e79f3fb206
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View file

@ -326,6 +326,9 @@ class DflyInstance:
mem_info = process.memory_info()
return mem_info.rss
def clear_max_chunk_flag(self):
del self.args["serialization_max_chunk_size"]
class DflyInstanceFactory:
"""

View file

@ -2316,6 +2316,7 @@ async def test_replicate_old_master(
dfly_version = "v1.19.2"
released_dfly_path = download_dragonfly_release(dfly_version)
master = df_factory.create(path=released_dfly_path, cluster_mode=cluster_mode)
master.clear_max_chunk_flag()
replica = df_factory.create(
cluster_mode=cluster_mode, announce_ip=announce_ip, announce_port=announce_port
)