mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Add description for test_MemoryTracking
This commit is contained in:
parent
746964af88
commit
56ab0e31e6
@ -2,6 +2,17 @@
|
||||
# pylint: disable=redefined-outer-name
|
||||
# pylint: disable=line-too-long
|
||||
|
||||
# This test verifies that memory tracking does not have significant drift,
|
||||
# in other words, every allocation should be taken into account at the global
|
||||
# memory tracker.
|
||||
#
|
||||
# So we are running some queries with GROUP BY to make some allocations,
|
||||
# and after we are checking MemoryTracking metric from system.metrics,
|
||||
# and check that it does not changes too frequently.
|
||||
#
|
||||
# Also note, that syncing MemoryTracking with RSS had been disabled in
|
||||
# asynchronous_metrics_update_period_s.xml.
|
||||
|
||||
import logging
|
||||
import pytest
|
||||
from helpers.cluster import ClickHouseCluster
|
||||
|
Loading…
Reference in New Issue
Block a user