mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 16:50:48 +00:00
Merge branch 'fix-test_dictionary_custom_settings' into more-checks-in-thread-status
This commit is contained in:
commit
c038246094
@ -2,6 +2,8 @@ import os
|
||||
|
||||
import pytest
|
||||
from helpers.cluster import ClickHouseCluster
|
||||
from helpers.test_tools import assert_eq_with_retry
|
||||
|
||||
|
||||
DICTIONARY_FILES = [
|
||||
"configs/dictionaries/FileSourceConfig.xml",
|
||||
@ -78,5 +80,7 @@ def test_work(start_cluster):
|
||||
|
||||
assert caught_exception.find("Limit for result exceeded") != -1
|
||||
|
||||
assert query("SELECT dictGetString('test_http', 'first', toUInt64(1))") == "\\'a\n"
|
||||
assert query("SELECT dictGetString('test_http', 'second', toUInt64(1))") == '"b\n'
|
||||
# It is possible that the HTTP server takes long time to start accepting connections
|
||||
|
||||
assert_eq_with_retry(instance, "SELECT dictGetString('test_http', 'first', toUInt64(1))", "\\'a\n")
|
||||
assert_eq_with_retry(instance, "SELECT dictGetString('test_http', 'second', toUInt64(1))", '"b\n')
|
||||
|
Loading…
Reference in New Issue
Block a user