Fix tests and update ya.make

This commit is contained in:
Nikita Mikhaylov 2021-08-26 13:12:42 +00:00
parent e5593f594d
commit fcfda4b983
4 changed files with 11 additions and 3 deletions

View File

@ -17,6 +17,14 @@ dpkg -i package_folder/clickhouse-test_*.deb
# install test configs # install test configs
/usr/share/clickhouse-test/config/install.sh /usr/share/clickhouse-test/config/install.sh
# FIXME: This is an ugly fix to enable S3 related features to test with Funcitonal tests
# AWS SDK checks these variables in the constructor of ClientConfiguration
# and in case of absence will log some warnings in server's logs.
# And tests will fail in this case.
export AWS_RETRY_MODE="standart"
export AWS_MAX_ATTEMPTS=3
# For flaky check we also enable thread fuzzer # For flaky check we also enable thread fuzzer
if [ "$NUM_TRIES" -gt "1" ]; then if [ "$NUM_TRIES" -gt "1" ]; then
export THREAD_FUZZER_CPU_TIME_PERIOD_US=1000 export THREAD_FUZZER_CPU_TIME_PERIOD_US=1000

View File

@ -145,7 +145,6 @@ SRCS(
TokenIterator.cpp TokenIterator.cpp
formatAST.cpp formatAST.cpp
formatSettingName.cpp formatSettingName.cpp
getInsertQuery.cpp
iostream_debug_helpers.cpp iostream_debug_helpers.cpp
makeASTForLogicalFunction.cpp makeASTForLogicalFunction.cpp
obfuscateQueries.cpp obfuscateQueries.cpp

View File

@ -222,8 +222,6 @@ SRCS(
TTLDescription.cpp TTLDescription.cpp
VirtualColumnUtils.cpp VirtualColumnUtils.cpp
extractKeyExpressionList.cpp extractKeyExpressionList.cpp
fuzzers/columns_description_fuzzer.cpp
fuzzers/mergetree_checksum_fuzzer.cpp
getStructureOfRemoteTable.cpp getStructureOfRemoteTable.cpp
registerStorages.cpp registerStorages.cpp
transformQueryForExternalDatabase.cpp transformQueryForExternalDatabase.cpp

View File

@ -1,3 +1,5 @@
DROP TABLE IF EXISTS table_with_range;
CREATE TABLE table_with_range CREATE TABLE table_with_range
( (
`name` String, `name` String,
@ -6,3 +8,4 @@ CREATE TABLE table_with_range
ENGINE = S3('https://storage.yandexcloud.net/my-test-bucket-768/{some,another}_prefix/some_file_{1..3}', 'CSV') ENGINE = S3('https://storage.yandexcloud.net/my-test-bucket-768/{some,another}_prefix/some_file_{1..3}', 'CSV')
SETTINGS input_format_with_names_use_header = 0; SETTINGS input_format_with_names_use_header = 0;
DROP TABLE IF EXISTS table_with_range;