mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Add a test
This commit is contained in:
parent
2a8ac01cdb
commit
d800e2b1cd
@ -0,0 +1,6 @@
|
||||
MMappedFileCacheHits
|
||||
MMappedFileCacheMisses
|
||||
CreatedReadBufferMMap
|
||||
CreatedReadBufferMMapFailed
|
||||
MMappedFiles
|
||||
MMappedFileBytes
|
7
tests/queries/0_stateless/01778_mmap_cache_infra.sql
Normal file
7
tests/queries/0_stateless/01778_mmap_cache_infra.sql
Normal file
@ -0,0 +1,7 @@
|
||||
-- We check the existence of queries and metrics and don't check the results (a smoke test).
|
||||
|
||||
SYSTEM DROP MMAP CACHE;
|
||||
|
||||
SET system_events_show_zero_values = 1;
|
||||
SELECT event FROM system.events WHERE event LIKE '%MMap%';
|
||||
SELECT metric FROM system.metrics WHERE metric LIKE '%MMap%';
|
Loading…
Reference in New Issue
Block a user