Skip to content

Commit 7e00d99

Browse files
authored
fix(test): Lower tiering test limits (#6017)
1 parent 6cabedf commit 7e00d99

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/dragonfly/tiering_test.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,25 +96,25 @@ async def run(sub_ops):
9696
{
9797
"proactor_threads": 2,
9898
"tiered_prefix": "/tmp/tiered/backing_master",
99-
"maxmemory": "2.0G",
99+
"maxmemory": "1.0G",
100100
"cache_mode": True,
101101
"tiered_offload_threshold": "0.6",
102102
"tiered_upload_threshold": "0.2",
103-
"tiered_storage_write_depth": 1000,
103+
"tiered_storage_write_depth": 1500,
104104
}
105105
)
106106
async def test_full_sync(async_client: aioredis.Redis, df_factory: DflyInstanceFactory):
107107
replica = df_factory.create(
108108
proactor_threads=2,
109109
cache_mode=True,
110-
maxmemory="2.0G",
110+
maxmemory="1.0G",
111111
tiered_prefix="/tmp/tiered/backing_replica",
112112
tiered_offload_threshold="0.5",
113-
tiered_storage_write_depth=1000,
113+
tiered_storage_write_depth=1500,
114114
)
115115
replica.start()
116116
replica_client = replica.client()
117-
await async_client.execute_command("debug", "populate", "1700000", "key", "2000")
117+
await async_client.execute_command("debug", "populate", "800000", "key", "2000")
118118
await replica_client.replicaof(
119119
"localhost", async_client.connection_pool.connection_kwargs["port"]
120120
)

0 commit comments

Comments
 (0)