1
0
Fork 0
mirror of https://github.com/dragonflydb/dragonfly.git synced 2024-12-15 17:51:06 +00:00

fix(test): Use less memory for STRING and HASH memory tests (#2593)

While at it, also register the opt_only mark
This commit is contained in:
Shahar Mike 2024-02-15 10:08:45 +02:00 committed by GitHub
parent ded3341b3d
commit 28800df071
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View file

@ -9,10 +9,10 @@ from .utility import *
[
("JSON", 300_000, 100, 100),
("SET", 500_000, 100, 100),
("HASH", 500_000, 100, 100),
("HASH", 400_000, 100, 100),
("ZSET", 400_000, 100, 100),
("LIST", 500_000, 100, 100),
("STRING", 10_000_000, 1000, 1),
("STRING", 6_000_000, 1000, 1),
],
)
async def test_rss_used_mem_gap(df_local_factory, type, keys, val_size, elements):

View file

@ -8,3 +8,4 @@ asyncio_mode=auto
addopts = -ra --emoji
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
opt_only: marks tests that are only reasonable to run against an opt-built Dragonfly