mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Added a test from Svyatoslav Tkhon Il Pak @DeifyTheGod #9642
This commit is contained in:
parent
ca6bea3731
commit
99667a38c3
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0"?>
|
||||
<yandex>
|
||||
<system_tables_lazy_load>false</system_tables_lazy_load>
|
||||
</yandex>
|
@ -0,0 +1,24 @@
|
||||
import time
|
||||
import pytest
|
||||
import os
|
||||
|
||||
from helpers.cluster import ClickHouseCluster
|
||||
|
||||
cluster = ClickHouseCluster(__file__)
|
||||
node1 = cluster.add_instance('node1', config_dir="configs")
|
||||
|
||||
@pytest.fixture(scope="module")
|
||||
def start_cluster():
|
||||
try:
|
||||
cluster.start()
|
||||
yield cluster
|
||||
finally:
|
||||
cluster.shutdown()
|
||||
|
||||
def test_system_tables_non_lazy_load(start_cluster):
|
||||
assert node1.query_and_get_error("SELECT * FROM system.part_log") == ""
|
||||
assert node1.query_and_get_error("SELECT * FROM system.query_log") == ""
|
||||
assert node1.query_and_get_error("SELECT * FROM system.query_thread_log") == ""
|
||||
assert node1.query_and_get_error("SELECT * FROM system.text_log") == ""
|
||||
assert node1.query_and_get_error("SELECT * FROM system.trace_log") == ""
|
||||
assert node1.query_and_get_error("SELECT * FROM system.metric_log") == ""
|
Loading…
Reference in New Issue
Block a user