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:
parent
ded3341b3d
commit
28800df071
2 changed files with 3 additions and 2 deletions
|
@ -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):
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue