Commit Graph

446 Commits

Author SHA1 Message Date
alesapin
9a17a461ea Review fixes and better tests 2019-07-09 12:02:52 +03:00
alesapin
6a3b543e10 Merge branch 'master' of github.com:yandex/ClickHouse into fix_fetch_of_existing_part 2019-07-09 11:21:44 +03:00
alexey-milovidov
2469ec1af3
Merge pull request #5857 from CurtizJ/dns-cache
Implement dns cache with asynchronous update.
2019-07-05 15:56:26 +03:00
alesapin
9d767ae935 Add test for client-server interaction with different versions 2019-07-04 13:59:42 +03:00
alesapin
efc1136ffb Add for interaction between old and new versions of clickhouse 2019-07-04 13:38:04 +03:00
alesapin
65437d2289 Fix final mark and tests 2019-07-04 13:21:14 +03:00
alesapin
a0496da05f Merge branch 'master' of github.com:yandex/ClickHouse into fix_fetch_of_existing_part 2019-07-04 12:46:54 +03:00
CurtizJ
8eda3b5de4 fix deadlock in getHostName 2019-07-04 02:05:59 +03:00
alesapin
477a7450fb Add test for data corruption 2019-07-03 23:51:13 +03:00
CurtizJ
80e96995ae Merge branch 'master' of https://github.com/yandex/ClickHouse into dns-cache 2019-07-03 21:27:43 +03:00
CurtizJ
56ca9908f2 add tests for dns cache update 2019-07-03 19:37:37 +03:00
alexey-milovidov
50c22ef71a
Merge pull request #5628 from yandex/index_granularity_by_default
Enable adaptive index granularity by default
2019-07-03 02:15:33 +03:00
alexey-milovidov
c43dfce041
Merge pull request #5382 from abyss7/issue-5286
Add virtual columns to Kafka Engine tables
2019-07-01 21:30:09 +03:00
Ivan Lezhankin
fa5431a524 Don't re-new docker volumes in all tests 2019-07-01 16:49:00 +03:00
alexey-milovidov
fe542e26f8
Merge pull request #5685 from CurtizJ/upstream/systemlog-flushing
Fix race condition in flushing system log in another way.
2019-06-29 15:46:22 +03:00
Vladimir Chebotarev
1ed6a6a1ce
Improved integration tests guide. 2019-06-29 14:34:26 +03:00
Ivan Lezhankin
1a7cb519fe Final test fix 2019-06-28 23:09:15 +03:00
proller
aeb7eb42d1 clickhouse-copier: Fix use-after free on shutdown (#5752)
* release script: convert .deb to .rpm and .tgz

* clickhouse-copier: Fix use-after free on shutdown

* Revert "Disable cluster copier tests"

This reverts commit 71872fc3c3.
2019-06-27 15:29:49 +03:00
alesapin
b7f173ad2c Execute some distributed DDL queries on leader 2019-06-26 17:52:20 +03:00
alesapin
71872fc3c3 Disable cluster copier tests 2019-06-25 22:26:26 +03:00
alesapin
d3a5759c73 Disable tests and add global timeout 2019-06-25 16:20:04 +03:00
Ivan Lezhankin
0917573493 Merge remote-tracking branch 'upstream/master' into issue-5286 2019-06-24 14:42:58 +03:00
Ivan Lezhankin
088401b35f Add helpful option to docker-compose invocation 2019-06-24 13:53:06 +03:00
Ivan Lezhankin
d6d10120c8 Refactor tests 2019-06-23 17:48:58 +03:00
Ivan Lezhankin
f34e4b53ce Fix tests again 2019-06-21 21:34:24 +03:00
Ivan Lezhankin
892a82e5ff Add test on virtual columns and materialized view 2019-06-21 20:43:39 +03:00
Ivan Lezhankin
b989d45818 Fix tests 2019-06-21 20:02:48 +03:00
alesapin
798d18fd47 Better waits in integration test 2019-06-21 11:03:13 +03:00
zhang2014
1786407621 ISSUES-5697 fix insert and select query with mysql style identifier 2019-06-21 13:51:27 +08:00
alexey-milovidov
606b074a4b
Merge pull request #5659 from yandex/ignore-mutation-limits
Ignore query execution limits and limits for max parts size for merge while executing mutations.
2019-06-21 02:14:41 +03:00
alesapin
80f27968ac Add test for interaction of tables with different granularity and different versions 2019-06-20 19:25:32 +03:00
CurtizJ
bb95d9a860 fix race condition in flushing system log 2019-06-19 15:28:34 +03:00
Ivan Lezhankin
9fd048cdbd Allow to select virtual columns in materialized view 2019-06-18 19:32:37 +03:00
Ivan Lezhankin
436052c67b Merge branch 'master' into issue-5286 2019-06-18 16:03:29 +03:00
CurtizJ
e6dd92f9e1 ignore max part size for merge setting while executing mutations 2019-06-17 22:41:48 +03:00
alesapin
fd3abbe93d
Merge pull request #4935 from zhang2014/feature/support_system_replicas
Support system replicas queries for distributed
2019-06-17 15:30:30 +03:00
alesapin
e45d727e9d
Merge pull request #4558 from podshumok/distributred-timeout
Distributed and remote timeouts
2019-06-17 13:58:17 +03:00
alesapin
2b242f2a64
Update test.py 2019-06-17 11:25:06 +03:00
Yuriy
2e29ea7b2e support of sessions and default_database in MySQL wire protocol 2019-06-16 18:12:37 +03:00
alexey-milovidov
829bcabcef
Merge pull request #5644 from yurriy/mysql
Made MySQL wire protocol tests independent from each other
2019-06-16 12:09:32 +03:00
Yuriy
369a8fbe92 made mysql tests independent from each other 2019-06-16 10:55:14 +03:00
alexey-milovidov
39c6fbc324
Merge pull request #5567 from vitlibar/really-lazy-dictionary-load
Non-blocking loading of external dictionaries
2019-06-15 22:15:53 +03:00
alexey-milovidov
807bfa913e
Merge pull request #5599 from zhang2014/fix_createtable_bug
Add database engine of MySQL type
2019-06-15 14:52:57 +03:00
Vitaly Baranov
ddecf09a99 Add more integration tests for external dictionaries 2019-06-14 22:21:37 +03:00
zhang2014
6ccef4d802 Add database engine of MySQL type
Co-authored-by: zhang2014 <coswde@gmail.com>
Co-authored-by: TCeason <tai_chong@foxmail.com>
2019-06-13 11:58:58 +08:00
Vitaly Baranov
fd5fbcab25
Fix grammatical error in client.py 2019-06-10 18:11:51 +03:00
Ivan Lezhankin
97558c1b41 Merge remote-tracking branch 'upstream/master' into issue-5286 2019-06-10 14:15:14 +03:00
alesapin
a0e7d183f7
Merge pull request #5534 from yandex/debug_dns_cache
Fix bug in pooled sessions and host ip change
2019-06-05 22:37:17 +03:00
alesapin
07ee60b546 Fix bug with pooled HTTP sessions and host ip change 2019-06-05 12:23:41 +03:00
alesapin
aa39e5a745 Add case for host ip change 2019-06-04 23:59:31 +03:00
proller
64924f5ef3 Docker: add comments with current tags 2019-06-04 16:01:16 +03:00
alesapin
dfe214b37c Fix inconsistent parts remove from local FS without dropping them from ZK 2019-06-03 17:58:19 +03:00
Ivan Lezhankin
b311984879 Merge remote-tracking branch 'upstream/master' into issue-5286 2019-06-03 17:19:09 +03:00
Konstantin Podshumok
6dbf2870ec distributed timeouts integration test 2019-06-02 20:54:44 +03:00
alesapin
252c27434a Fix zookeeper image version 2019-05-30 00:47:57 +03:00
zhang2014
80788cd7a8 Rename system sync distributed to system flush distributed 2019-05-29 10:43:52 +08:00
zhang2014
1a33840964 fix review 2019-05-29 10:43:52 +08:00
zhang2014
c44f608868 support replicas system queries for distributed 2019-05-29 10:43:52 +08:00
Loud_Scream
05bb22cab6 Change docker file for integration test (#5449)
* Change docker file for integration test

* Delete useless libraries

* need ssl
2019-05-28 21:53:22 +03:00
Alexey Milovidov
b94f2be154 Merge branch 'mysql' of https://github.com/yurriy/ClickHouse into yurriy-mysql 2019-05-25 17:14:57 +03:00
Ivan Lezhankin
1985caed8d Add test on virtual columns 2019-05-23 17:32:06 +03:00
alesapin
36cf6fa8f9
Merge pull request #5360 from filimonov/integration_tests_runner_improvements
more fixes for integration tests dockerfiles
2019-05-22 11:58:02 +03:00
Oleg Favstov
fe74521710 Use pytest's raises instead of try/except clause 2019-05-21 11:30:39 +03:00
alesapin
09ad1732b3
Update test.py 2019-05-21 11:15:47 +03:00
Mikhail Filimonov
8a1d773ced more dockerfile fixes 2019-05-21 08:17:46 +02:00
Oleg Favstov
896e995fe8 Fix test that doesn't assert anything 2019-05-20 23:59:07 +03:00
Mikhail Filimonov
8fe7633b62 Fixing "the input device is not a TTY" for test runner 2019-05-20 11:48:36 +02:00
Mikhail Filimonov
464cff4665 Sereval improvements in integration tests runner 2019-05-20 10:11:53 +02:00
Yuriy
a51c293ec6 merged 'origin/master' into mysql 2019-05-16 14:19:05 +03:00
Yuriy
ff4937859e added MySQL wire protocol presentational format 2019-05-16 06:34:04 +03:00
Yuriy
d21cf9d85f ssl support 2019-04-29 09:05:30 +03:00
Vitaly Baranov
7e3c8d6022 Implement new constraints: "min" and "readonly". 2019-04-27 01:09:16 +03:00
Vitaly Baranov
d2bfac7949 Add a test for the 'max' constraint 2019-04-26 19:11:05 +03:00
Yuriy
a4bf3621e3 merged with master 2019-04-23 21:58:29 +03:00
alexey-milovidov
b1cf026b5b
Merge pull request #5080 from abyss7/issue-4736
Do not drop Kafka Consumer buffers after deletion of stream
2019-04-22 19:18:33 +03:00
Ivan Lezhankin
d479836362 Add test on lost messages 2019-04-22 14:53:42 +03:00
Yuriy
9fff48e01f removed accidentally committed debug lines 2019-04-22 14:05:47 +03:00
Yuriy
e4766a4ef9 caching_sha2_password authentication plugin 2019-04-22 13:57:50 +03:00
Ivan Lezhankin
dffe0eba40 Merge branch 'master' into fix-kafka-again 2019-04-16 14:00:48 +03:00
Vitaly Baranov
db56576511 Add test checking CH can handle dictionary dependency 2019-04-15 20:40:45 +03:00
alesapin
8cd18c0723
Merge pull request #4991 from yandex/fix_ddl_on_relicated_table
Do not send queries received from DDLWorker to leader replica
2019-04-15 13:07:55 +03:00
Anton Popov
7f93f9ad2f TTL for columns and tables (#4212)
Add TTL for columns and tables.
2019-04-15 12:30:45 +03:00
alesapin
f47e3292e1 Do not send queries to leader replica received from DDLWorker 2019-04-12 14:06:05 +03:00
proller
c78176603c
clickhouse-test - prepare for use other than 'test' database (#4961) 2019-04-11 20:20:36 +03:00
Yuriy
e6f9616abb more stable golang client test 2019-04-08 11:49:21 +03:00
Yuriy
5b6754a2be gofmt 2019-04-07 13:32:52 +03:00
Yuriy
b792568bdc added golang mysql client test 2019-04-07 13:29:30 +03:00
alesapin
31daaa2095 Add redis to runner image 2019-04-06 18:43:16 +03:00
proller
236f2a4354
clickhouse-copier - fix another segfault (#4900) 2019-04-04 12:22:54 +03:00
Ivan Lezhankin
a4dfa0d58d Fix new test 2019-04-03 20:46:54 +03:00
Yuriy
0f3ec94ebd added mysql protocol test 2019-04-03 01:45:06 +03:00
Ivan Lezhankin
a03f3d9f41 Use python bindings in Kafka tests. 2019-04-02 20:34:04 +03:00
proller
edaec2353c
CLICKHOUSE-4421 Fix segfault in copier (#4835)
* Fix segfault in copier

* add test

* better runner
2019-04-01 17:58:04 +03:00
alexey-milovidov
e3cee18b62
Merge pull request #4864 from vitlibar/test-format-schema-on-server
Add test checking using format schema via HTTP interface.
2019-04-01 11:01:08 +03:00
Vitaly Baranov
48a590551b Add test checking using format schema via HTTP interface. 2019-03-30 21:42:01 +03:00
Vitaly Baranov
37b904b8f5
Merge pull request #4808 from vitlibar/kafka-with-protobuf-format
Kafka with protobuf format
2019-03-30 19:00:57 +03:00
Vitaly Baranov
ba58fbbbec Add a kafka test using protobuf format. 2019-03-29 22:36:19 +03:00
alesapin
2764401d0f Fix exception 'No message received' 2019-03-29 21:10:03 +03:00
alexey-milovidov
b1279c1323
Merge pull request #4743 from azat-archive/clickhouse-client-tty
clickhouse-client: fix --help without tty
2019-03-23 05:54:05 +03:00
Azat Khuzhin
6d8706e692
clickhouse-client: fix --help without tty
stdin_is_not_tty is detected too late when the --help message is
printed, so fix this and do not call ioctl if stdin is not tty.

Before this patch:
  $ clickhouse-client --help < /dev/null

debug build:
  $ dbms/programs/clickhouse-client --help < /dev/null
  Main options:
    --help
  clickhouse-client: ../contrib/boost/libs/program_options/src/options_description.cpp:542:
  void boost::program_options::{anonymous}::format_description(std::ostream&, const string&, unsigned int, unsigned int): Assertion `line_length > first_column_width' failed.
  Aborted (core dumped)

release build:
  $ dbms/programs/clickhouse-client --help < /dev/null
  .... print lots of empty lines and so forth ...

v2: add a test and bsdutils into image for tests
v3: adjust minimal cols to the length of one of the longest arguments,
since with line_length=3 boost will bail anyway (under script(1)
ioctl(TIOCGWINSZ) returnes ws_col=0)
2019-03-23 02:01:32 +03:00