Skip to content

Commit 8237d8f

Browse files
authored
refactor: remove serialization_max_chunk_size for cluster tests (#4316)
1 parent af04b55 commit 8237d8f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/dragonfly/cluster_test.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1433,7 +1433,7 @@ async def test_migration_with_key_ttl(df_factory):
14331433
assert await nodes[1].client.execute_command("stick k_sticky") == 0
14341434

14351435

1436-
@dfly_args({"proactor_threads": 4, "cluster_mode": "yes", "serialization_max_chunk_size": 0})
1436+
@dfly_args({"proactor_threads": 4, "cluster_mode": "yes"})
14371437
async def test_network_disconnect_during_migration(df_factory):
14381438
instances = [
14391439
df_factory.create(port=next(next_port), admin_port=next(next_port)) for i in range(2)
@@ -1472,7 +1472,7 @@ async def test_network_disconnect_during_migration(df_factory):
14721472

14731473
await proxy.start()
14741474

1475-
await wait_for_status(nodes[0].admin_client, nodes[1].id, "FINISHED", 60)
1475+
await wait_for_status(nodes[0].admin_client, nodes[1].id, "FINISHED", 300)
14761476
nodes[0].migrations = []
14771477
nodes[0].slots = []
14781478
nodes[1].slots = [(0, 16383)]
@@ -1970,7 +1970,7 @@ async def node1size0():
19701970
assert str(i) == await nodes[1].client.get(f"{{key50}}:{i}")
19711971

19721972

1973-
@dfly_args({"proactor_threads": 2, "cluster_mode": "yes", "serialization_max_chunk_size": 0})
1973+
@dfly_args({"proactor_threads": 2, "cluster_mode": "yes"})
19741974
@pytest.mark.asyncio
19751975
async def test_cluster_migration_huge_container(df_factory: DflyInstanceFactory):
19761976
instances = [
@@ -2003,7 +2003,7 @@ async def test_cluster_migration_huge_container(df_factory: DflyInstanceFactory)
20032003
await push_config(json.dumps(generate_config(nodes)), [node.admin_client for node in nodes])
20042004

20052005
logging.debug("Waiting for migration to finish")
2006-
await wait_for_status(nodes[0].admin_client, nodes[1].id, "FINISHED")
2006+
await wait_for_status(nodes[0].admin_client, nodes[1].id, "FINISHED", 30)
20072007

20082008
target_data = await StaticSeeder.capture(nodes[1].client)
20092009
assert source_data == target_data
@@ -2433,7 +2433,7 @@ async def test_cluster_memory_consumption_migration(df_factory: DflyInstanceFact
24332433

24342434

24352435
@pytest.mark.asyncio
2436-
@dfly_args({"proactor_threads": 4, "cluster_mode": "yes", "serialization_max_chunk_size": 0})
2436+
@dfly_args({"proactor_threads": 4, "cluster_mode": "yes"})
24372437
async def test_migration_timeout_on_sync(df_factory: DflyInstanceFactory, df_seeder_factory):
24382438
# Timeout set to 3 seconds because we must first saturate the socket before we get the timeout
24392439
instances = [

0 commit comments

Comments
 (0)