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:
parent
db7bd0670a
commit
e79f3fb206
2 changed files with 4 additions and 0 deletions
|
@ -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:
|
||||
"""
|
||||
|
|
|
@ -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
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue