diff --git a/dbms/tests/queries/0_stateless/00725_memory_tracking.reference b/dbms/tests/queries/0_stateless/00725_memory_tracking.reference new file mode 100644 index 00000000000..5accb577786 --- /dev/null +++ b/dbms/tests/queries/0_stateless/00725_memory_tracking.reference @@ -0,0 +1,3 @@ +1 +100000000 +1 diff --git a/dbms/tests/queries/0_stateless/00725_memory_tracking.sql b/dbms/tests/queries/0_stateless/00725_memory_tracking.sql new file mode 100644 index 00000000000..a60d6f1a2b1 --- /dev/null +++ b/dbms/tests/queries/0_stateless/00725_memory_tracking.sql @@ -0,0 +1,3 @@ +SELECT value > 0 FROM system.metrics WHERE metric = 'MemoryTracking'; +SELECT length(range(100000000)); +SELECT value > 0 FROM system.metrics WHERE metric = 'MemoryTracking';