Skip to content

Commit 0b897b9

Browse files
authored
Optimize memory usage for CMS functional tests (#8846)
1 parent e998c4c commit 0b897b9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

ydb/tests/functional/cms/test_cms_restart.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ class AbstractLocalClusterTest(object):
2727
@classmethod
2828
def setup_class(cls):
2929
nodes_count = 8 if cls.erasure == Erasure.BLOCK_4_2 else 9
30-
nodes_count *= 2
3130
configurator = KikimrConfigGenerator(cls.erasure,
3231
nodes=nodes_count,
3332
use_in_memory_pdisks=False,

ydb/tests/functional/cms/test_cms_state_storage.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,11 @@ class AbstractLocalClusterTest(object):
2323
@classmethod
2424
def setup_class(cls):
2525
configurator = KikimrConfigGenerator(Erasure.NONE,
26-
nodes=27,
26+
nodes=5,
2727
use_in_memory_pdisks=False,
2828
additional_log_configs={'CMS': LogLevels.DEBUG},
29-
state_storage_rings=[[n, n + 1, n + 2] for n in range(1, 27, 3)]
29+
state_storage_rings=list(range(1, 6)),
30+
n_to_select=5,
3031
)
3132
cls.cluster = kikimr_cluster_factory(configurator=configurator)
3233
cls.cluster.start()

ydb/tests/functional/cms/ya.make

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ TEST_SRCS(
1212
SPLIT_FACTOR(10)
1313

1414
IF (SANITIZER_TYPE)
15-
REQUIREMENTS(ram:32)
15+
REQUIREMENTS(ram:16)
1616
ENDIF()
1717

1818
IF (SANITIZER_TYPE == "thread")

0 commit comments

Comments
 (0)