Commit Graph

138 Commits

Author SHA1 Message Date
Alexander Kazakov
c6c3c4347b Keep stderr when collecting stacktraces 2020-01-27 20:47:05 +03:00
Alexander Kazakov
0106040a2f
In clickhouse-test: Updated check for hung queries 2020-01-27 19:51:48 +03:00
CurtizJ
d43d189769 more convinient local testing 2020-01-14 16:57:40 +03:00
Nikolai Kochetov
a73975d6a3
Merge pull request #8063 from Akazz/tests/better_server_pid_detection
Improved getting ClickHouse server pid in clickhouse-test
2019-12-06 16:26:47 +03:00
Alexander Kazakov
faedac0b95 Rewrite command line for getting server pid 2019-12-06 13:58:46 +03:00
Nikolai Kochetov
f2ff3b3ddd Added argument --print-time to tests. 2019-12-03 12:59:41 +03:00
alesapin
9d0126297d Move client-option option from shard group to common group in clickhouse-test 2019-11-11 18:57:33 +03:00
Nikolai Kochetov
10366f79ae Update url params in shell_config and tests.] 2019-10-11 16:34:26 +03:00
Nikolai Kochetov
48bfcab428 Add ability to specify arguments to client in functional tests. 2019-10-11 13:30:32 +03:00
Azat Khuzhin
495d1de46f clickhouse-test: introduce -U/--unified option (pass to diff(1)) 2019-10-10 21:47:51 +03:00
Alexander Kuzmenkov
1965c612ab Fix sorting in clickhouse-test. 2019-10-09 14:56:51 +03:00
Alexander Kuzmenkov
89ebd4885f Fix test filtering in clickhouse-test. 2019-10-09 13:51:59 +03:00
Alexander Kuzmenkov
46f5115601 Accept many test name regexes in clickhouse-test.
Sometimes it is more convenient to supply space-separated test names
without having to concatenate them into one regex with pipes.
2019-10-08 14:32:03 +03:00
proller
9be369fed5
clickhouse-test: optional termcolor (#6035) 2019-07-17 15:46:20 +03:00
proller
3d8c8ee83c
Build fixes. Split config.h (#5686) 2019-06-20 12:12:49 +03:00
proller
dae5087fcf Build and test fixes 2019-06-17 19:50:31 +03:00
alexey-milovidov
f90d667782
Update clickhouse-test 2019-06-15 22:20:56 +03:00
Ivan Lezhankin
496376a6bc Try to use random database name by default 2019-06-10 13:41:53 +03:00
proller
88f3a48afa
Fixes for parallel test run (#5506) 2019-06-03 20:36:27 +03:00
Alexey Milovidov
fc12bbe6d4 Revert "Print error messages to stderr."
This reverts commit 00380ad6d8.
2019-05-26 21:38:43 +03:00
akuzm
7b927c4648
clickhouse-test improvements (#5352)
* Print error messages to stderr.

It makes it possible to redirect output to /dev/null and see only the
failed tests.

* Show an error message if we failed to find the queries dir.

* Treat 'distributed' and 'global' the same way as 'shard' in test names.

Some tests that need to run distributed queries do not use the
'shard' marker. It seems easier to support another two markers than
to rename the tests.
2019-05-24 15:07:26 +03:00
Alexey Milovidov
cb763f03e9 Merge branch 'master' into simplify-clickhouse-test 2019-04-24 19:07:17 +03:00
proller
29c3433322
Freebsd build fixes (#5083) 2019-04-23 15:51:27 +03:00
proller
ba312c138b
Parallel tests runner (#5076)
* Parallel tests runner

* Slightly better style

* Fixes
2019-04-23 02:40:40 +03:00
Alexey Milovidov
f8561d2950 Removed XML output in clickhouse-test; removed trashing of UTF-8 characters 2019-04-22 22:58:34 +03:00
proller
c96c950096
Tests: making 100% pass with other than 'test' database (#5047) 2019-04-18 21:48:04 +03:00
proller
f1cc83ca9e
Tests: Allow use any test database (remove test. hardcode where it possible) (#5008) 2019-04-16 17:13:13 +03:00
proller
c78176603c
clickhouse-test - prepare for use other than 'test' database (#4961) 2019-04-11 20:20:36 +03:00
alesapin
cc8186b77c Add force-color option for ctest 2019-04-09 16:17:36 +03:00
alesapin
503d9c9004 Disable colored output in non tty environment 2019-04-08 15:35:48 +03:00
alexey-milovidov
32700242be
Merge branch 'master' into test_runner_for_stateless_tests 2019-04-04 22:26:10 +03:00
proller
1f245e1959 Tests: fix cat usage 2019-04-03 17:11:59 +03:00
Vasily Nemkov
9b5950f403 Fixed test failures when running clickhouse-server on different host
Fixed test in docker: writing to read-only filesystem
Multi-stage builds for test-runner and server to allow putting packages directory anywhere
Fixed more tests
2019-03-30 15:38:07 +03:00
alesapin
d086a63f66 clickhouse-test retry on session expired 2019-03-29 11:26:42 +03:00
alesapin
268ebcd3da Fix in clickhouse-test --binary option can accept path 2019-03-25 18:03:12 +03:00
proller
f697df2079
Tests: fix call .sh from .sh (#4732) 2019-03-20 23:04:49 +03:00
proller
2afb4438ab
clickhouse-test - also randomize stateless-statefull order (#4694) 2019-03-14 19:37:23 +03:00
alesapin
a2eaec4766 Fix retry loop 2019-03-13 19:55:30 +03:00
alesapin
87fc69f37b Merge master 2019-03-13 19:49:29 +03:00
alesapin
49448b4a00 Retry on Exception connection loss 2019-03-13 19:47:02 +03:00
alesapin
340f0935ac Update docker image, and more verbosity 2019-03-13 16:52:23 +03:00
alesapin
8cf09469dd Add ability to specify check of hung queries with --hung-check 2019-03-13 14:03:57 +03:00
Ivan Lezhankin
c8eefb3927 Always modify subqueries if modifying inplace
to support push-down while analyzing.
2019-02-26 13:18:12 +03:00
Ivan Lezhankin
fa273bb73b Improve push-down predicate tests. 2019-02-26 13:17:25 +03:00
alesapin
a8524b6e36 Fix wrong code in clickhouse-test 2019-01-24 14:03:33 +03:00
Odin Hultgren Van Der Horst
e3d5b21d6a Fixes to clickhouse-test script 2019-01-23 15:05:11 +01:00
alesapin
a5af465b20 Add option for stateless tests disabling 2019-01-18 14:47:50 +03:00
alexey-milovidov
be409f29b6
Update clickhouse-test 2018-11-21 07:16:47 +03:00
Ivan Lezhankin
935615a647 Reimplement FREEZE command. 2018-11-12 15:26:14 +03:00
proller
6ec9ca3b07
Better tests (#3535) 2018-11-07 14:00:46 +03:00