From b1b53a4019f28fadcbc0f69a78c34ae77125c635 Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Wed, 26 Sep 2018 23:49:44 +0300 Subject: [PATCH] Added test #3143 --- dbms/tests/queries/0_stateless/00725_memory_tracking.reference | 3 +++ dbms/tests/queries/0_stateless/00725_memory_tracking.sql | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 dbms/tests/queries/0_stateless/00725_memory_tracking.reference create mode 100644 dbms/tests/queries/0_stateless/00725_memory_tracking.sql 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';