Disable syncing MemoryTracking with RSS for test_MemoryTracking

This commit is contained in:
Azat Khuzhin 2020-10-24 02:33:16 +03:00
parent 6e5b04fad8
commit 96da5f6534
2 changed files with 8 additions and 1 deletions

View File

@ -0,0 +1,4 @@
<yandex>
<!-- this update period also syncs MemoryTracking with RSS, disable this, by using period = 1 day -->
<asynchronous_metrics_update_period_s>86400</asynchronous_metrics_update_period_s>
</yandex>

View File

@ -8,7 +8,10 @@ from helpers.cluster import ClickHouseCluster
cluster = ClickHouseCluster(__file__)
node = cluster.add_instance('node', main_configs=['configs/no_system_log.xml'])
node = cluster.add_instance('node', main_configs=[
'configs/no_system_log.xml',
'configs/asynchronous_metrics_update_period_s.xml',
])
logging.getLogger().setLevel(logging.INFO)
logging.getLogger().addHandler(logging.StreamHandler())