Commit Graph

142 Commits

Author SHA1 Message Date
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
proller
713c44c3db
Build fixes (#3466) 2018-10-25 18:23:41 +03:00
Alexey Milovidov
eda0784feb clickhouse-test: removed obsolete comment #3223 2018-10-09 21:43:23 +03:00
Alexey Milovidov
18857ed428 Increased passing for "00614_shard_same_header_for_local_and_remote_node_in_distributed_query" [#CLICKHOUSE-2] 2018-08-23 03:19:41 +03:00
Alexey Milovidov
c72482528c Merging #2482 2018-08-15 00:18:14 +03:00
Alexey Milovidov
acb99b49df Merge branch 'master' into CLICKHOUSE-2910 2018-08-14 23:29:42 +03:00
Alexey Milovidov
e0dc0ccaff Removed misleading message [#CLICKHOUSE-2] 2018-08-08 06:03:26 +03:00
Alexey Milovidov
705cce48f0 Removed misleading comment [#CLICKHOUSE-3] 2018-08-06 23:07:50 +03:00
chertus
845edbe242 CLICKHOUSE-2: support negative tests 2018-07-27 20:41:05 +03:00
Vitaliy Lyudvichenko
310bb4116e Merge remote-tracking branch 'origin/master' into CLICKHOUSE-2910 2018-06-19 23:33:11 +03:00
proller
a4e6f726e8 Build and test fixes 2018-06-19 00:13:11 +03:00
Vitaliy Lyudvichenko
95b42afcb9 Add test for profile events logging. [#CLICKHOUSE-2910] 2018-06-14 14:56:12 +03:00
Vitaliy Lyudvichenko
ed7cd86f09 Fixed several bug. Trun on --server_logs_level=warning in tests. [#CLICKHOUSE-2910]
Fixed several test to be compatible with --server_logs_level=warning.
2018-06-08 22:50:15 +03:00
proller
f1fdea74be pbuilder: use random ports for testing (#2424)
* Fix internal compiler includes with new clang

* debug copy_headers.sh

* Fix copy_headers.sh

* Use copy-headers from cmake

* Update rules

* pbuildeR: use random ports for testing

* critical fix
2018-05-25 21:05:30 +03:00
proller
22d6afd2ad Debian postinst fix
Tests: use /usr/local if exists
2018-05-18 21:26:44 +03:00
proller
bef63d1dd0 Test: fill CLICKHOUSE_CONFIG from args.configserver 2018-04-26 23:02:10 +03:00
proller
348b7c3bda clickhouse-test: Fix run without server config 2018-03-27 18:08:51 +03:00
proller
76cf0ba5d0 Better tests (#1785)
* Make separate libs Common/ZooKeeper and Common/ConfigProcessor
renamed:    dbms/src/Common/StringUtils.h -> dbms/src/Common/StringUtils/StringUtils.h

* Fix space

* Fix data in system.build_options

* merge

* merge

* Travis optimize

* optimize

* Fix clickhouse-test --no-long

* no long

* Split too long test

* Better tests

* missing file

* Fix includes

* Added draft [#CLICKHOUSE-2].

* fix

* fix

* fix

* Fix test 281 under asan
2018-01-18 23:33:16 +03:00
proller
087474ba3d Fix tests 2018-01-16 23:17:31 +03:00
proller
e8f2bb2d3b
Travis optimize (#1775)
* Travis optimize
2018-01-16 16:44:45 +03:00
proller
f6d8436f81 Enable travis (#1772)
* Try travis

* wip

* Try travis

* try

* try

* try

* try

* Revert "try"

This reverts commit 7ecd73c2eb.

* try unbundled

* Try unbundled2

* Try undundled3

* Try unbundled4

* Try5

* try gcc7

* try6

* Try clang

* Try min

* try ccache

* try ccache stats

* no sudo

* try clang

* try ccache

* reset changelog

* Try fix clang

* try limit time

* Faster

* try timeout

* try faster

* Try

* try

* try

* try

* try

* try

* ccache

* Fix

* try test

* try test

* Fix try_listen in some vm's

* fix

* test

* fix

* cache timeout

* packages

* fix

* fix

* fix

* try emb compiler

* Try emb compiler

* Revert "try emb compiler"

This reverts commit 471713cabe.

* try

* Revert "Try emb compiler"

This reverts commit 95e632abf6.

* Skip long

* fix

* fix

* ccache

* fix

* debug

* Fxi test

* test fix

* tes fix

* Fix

* Fix link

* Fix odbc link

* Fxi test

* fix  boost unbundled include

* fix test

* fix test

* test fix

* fix tests

* tests

* Test fail
2018-01-15 21:57:10 +03:00
proller
e31aaadc20 clickhouse-test: print number passed and skipped tests 2018-01-12 21:30:15 +03:00
proller
bf2fb5f2cc clickhouse-test: early exit if server died (more than 20 queries failed in chain). Auto use system queries dir. 2018-01-12 16:56:02 +03:00
proller
1610abdd5c Tests: Dont eat my cpu! 2017-12-29 16:59:01 +03:00
proller
015a6c469b clickhouse-test: aloow work in read-only queries dir (--tmp) 2017-12-27 19:04:15 +03:00
Evgeny Konkov
2f5ae0766e Disable tests with additional message.
By default disabled tests not running.
Add command line switch to force execution of disabled tests.
2017-12-26 17:42:41 +03:00
proller
e7f82b6a8c
Allow run test without package install and on custom ports. (#1643)
* ExtractFromConfig --try

* Add symlinks to package

* clickhouse-test --order option
2017-12-15 22:34:19 +03:00
Alexey Milovidov
8758d9b28c Returned back order in clickhouse-test [#CLICKHOUSE-2] 2017-12-09 19:17:37 +03:00
Alexey Milovidov
6cf5c63f4e Fixed error [#CLICKHOUSE-2] 2017-12-09 19:17:37 +03:00
proller
f8032c47cb Tests: revert shard auto disabling 2017-11-05 23:17:43 +03:00
proller
9fb4e86270 Tests: fix bash usage;
Use ${CLICKHOUSE_LOCAL} in tests
add --testname options to tests
2017-11-01 14:46:58 +03:00
proller
f8548156a0 Improve tests: allow redefine some values (clickhouse path, ports, ...) 2017-10-12 22:48:39 +03:00
proller
2db34a606a clean 2017-10-03 22:12:44 +03:00
proller
097357799d Tests: --random option; set some env variables for .sh tests 2017-10-03 21:31:32 +03:00
Vitaliy Lyudvichenko
f08545b9b8 Stop tests execution on KeyboardInterrupt. [#CLICKHOUSE-2] 2017-10-03 19:21:25 +03:00
Alexey Milovidov
e1cf922c1b Merge branch 'master' of github.com:yandex/ClickHouse 2017-09-16 18:56:37 +03:00
Alexey Milovidov
65ad717938 Whitespaces [#CLICKHOUSE-2]. 2017-09-16 18:55:31 +03:00
Alexey Zatelepin
3791b93c76 remove junk 2017-09-16 01:27:57 +03:00
Evgeny Konkov
e95ab36832 handle test errors 2017-09-15 03:11:24 +03:00
Evgeny Konkov
c37a387ff8 remove control characters from diff output in order to properly save diff output in junit xml report files. 2017-09-15 03:11:24 +03:00
proller
8a7e604a2a Tests fixes (#1238)
* Tests: catch xml internal error

* Tests fixes
2017-09-13 21:08:38 +03:00
proller
68f48253c9 Tests: catch xml internal error 2017-09-13 18:32:03 +03:00
proller
ea19c4494f Better test reverse (#1207)
* Again fix test 00501_http_head

* Better test reverse

* Fix test reverse sort

* Update clickhouse-test
2017-09-06 23:13:21 +03:00
proller
888214e33d Revert "Reverse tests order"
- need smarter reverse

This reverts commit 16bd99493b.
2017-09-06 21:39:04 +03:00
proller
16bd99493b Reverse tests order 2017-09-06 20:16:17 +03:00
Alexey Zatelepin
392b59a2fe fix running tests with custom clickhouse-client [#CLICKHOUSE-2] 2017-08-31 23:32:03 +03:00
Alexey Zatelepin
807570b32f Change tabs to spaces in clickhouse-test [#CLICKHOUSE-3]. 2017-05-19 21:31:48 +03:00
proller
b1f1096f27 tests: correct Connection refused detection (#766) 2017-05-05 17:50:05 +03:00
proller
9bcece79f9 tests: dont stop on errors by default 2017-05-05 07:19:00 -07:00
Vitaliy Lyudvichenko
82af2278fc Avoid code duplication near MergeTreeBlockInputStream. [#CLICKHOUSE-2]
Add preferred_block_size_bytes for non-uniform reader. [#CLICKHOUSE-2902]

Make enums test more deterministic. [#CLICKHOUSE-2]

Refactored MergeTree readers.

Tabs -> spaces.

Move include/DB/ -> src/.
2017-04-15 06:48:24 +03:00
proller
0e91c47066 Allow build with external double-conversion lz4 zstd re2 zookeeper (#531)
* Allow build with external double-conversion lz4 zstd re2 zookeeper

* fix

* fix

* freebsd fixes

* spaces

* fix

* fix

* fix

* wip

* move

* fix
2017-03-01 03:49:04 +04:00
Vitaliy Lyudvichenko
e92862a7d7 Use intuitive side-by-side diff if test failed. [#CLICKHOUSE-2] 2017-02-07 23:43:31 +04:00
proller
7982d84904 wip 2017-01-25 18:14:39 +03:00
proller
3219d20df8 Group all tests with 127.0.0.{1,2} into 'shard' tag 2017-01-25 17:00:08 +03:00
proller
9c3133deac wip 2017-01-25 16:17:13 +03:00
Vitaliy Lyudvichenko
0807fb6d86 Interpret .py files in test dir as tests. [#CLICKHOUSE-194]
More precise performance test.
2017-01-12 18:21:47 +03:00
Vitaliy Lyudvichenko
f8eb9028fd Refined query_log, processes and merges metrics.
Also, dbms/CMakeLists.txt was rewritten.
2016-12-09 13:11:25 +03:00
Eugene Konkov
d8973b61cf flush after print test case name 2016-11-21 22:16:31 +03:00
Pavel Kartavyy
3569176cbf clickhouse-test: make status messages to be bold 2016-11-21 11:37:51 +03:00
Pavel Kartavyy
5d7afb7588 clickhouse-test: fix error 2016-11-16 18:52:35 +03:00
Pavel Kartavyy
edd6c25c2c clickhouse-client: some tests has non unicode symbols in stdout 2016-11-16 18:52:35 +03:00
Pavel Kartavyy
51cf368e1f clickhouse-test: use termcolor for text highlighting 2016-11-16 18:52:35 +03:00
Pavel Kartavyy
09a24f2b48 clickhouse-test: fix reading of non ascii test output 2016-11-16 18:52:35 +03:00
Vitaliy Lyudvichenko
107f7b34c7 Added requested PR changes, 2nd iteration. 2016-11-14 02:57:18 +03:00
Eugene Konkov
1c983b2872 save each test result to separate junit xml file in order to keep results of performed tests in case of aborted script 2016-09-06 18:47:24 +03:00
Eugene Konkov
a45a8ca9d0 Add test case timeout [#METRIQA-248] 2016-09-02 19:27:12 +03:00
Eugene Konkov
ae1edc4197 fix console output 2016-09-02 16:15:01 +03:00
Eugene Konkov
08cbd95290 Write junit-compatible xml report to file specified with --output argument. 2016-09-01 20:40:02 +03:00
Alexey Milovidov
e0182a035c clickhouse-test: removed unused option; added support to run subset of tests [#METR-22352]. 2016-08-10 07:48:14 +03:00
Alexey Milovidov
866382e4d4 Fixed test script [#METR-20000]. 2016-03-05 00:28:05 +03:00
Alexey Milovidov
5360c78806 Added support for private submodule [#TESTIRT-8503]. 2016-03-01 00:27:02 +03:00
Alexey Milovidov
45cf6c6784 Added external tests [#METR-17973]. 2016-02-09 00:10:10 +03:00
Alexey Milovidov
7ea5da8b53 dbms: test: increased padding [#METR-2944]. 2015-09-30 02:58:26 +03:00
Alexey Milovidov
10553e7840 dbms: fixed error with views [#METR-14449]. 2014-12-23 23:32:00 +03:00
Michael Kolupaev
765a5e4685 clickhouse-test: small fix. [#METR-2807] 2014-08-01 13:12:30 +04:00
Michael Kolupaev
ba11ae3be5 clickhouse-test: skipping tests with "zookeeper" in name when no zookeeper seems to be available. [#METR-2807] 2014-07-31 17:53:57 +04:00
Alexey Milovidov
247d7074e9 clickhouse-test: enable color hiliting only when stdout is a tty [#METR-11873]. 2014-07-10 22:58:04 +04:00
Alexey Milovidov
1db77a0a8f dbms: test: allowed to use .sh scripts as tests [#METR-10955]. 2014-04-25 03:13:06 +04:00
Michael Kolupaev
6f61446152 clickhouse-test: switched to clickhouse-client; added a couple of multiquery tests. [#METR-10639] 2014-03-28 20:08:48 +04:00
Alexey Milovidov
369767dde9 dbms: test: allowed to specify many test names to generate reference result [#METR-10572]. 2014-03-26 03:15:14 +04:00
Michael Kolupaev
42be4d6ec5 Added an option for clickhouse-test to generate reference for just one test. Added reference for one test query. [#METR-10566] 2014-03-25 23:23:32 +04:00
Alexey Milovidov
9abadce603 dbms: updated tests [#METR-2944]. 2014-03-24 06:50:39 +04:00
Alexey Milovidov
2813909ed3 dbms: modified test [#METR-2944]. 2014-03-24 00:45:42 +04:00
Alexey Milovidov
dae349ba00 dbms: added tests [#METR-2944]. 2014-03-24 00:40:55 +04:00
Alexey Milovidov
fc45d3cc5b dbms: mofified test [#METR-2944]. 2014-03-23 19:16:58 +04:00
Alexey Milovidov
a646848ded dbms: modified test [#METR-2944]. 2014-03-23 07:46:25 +04:00
Alexey Milovidov
84ce7d6225 dbms: modified test [#METR-2944]. 2014-03-23 07:40:09 +04:00
Alexey Milovidov
18a7749a04 dbms: modified test [#METR-2944]. 2014-03-23 07:37:51 +04:00
Alexey Milovidov
40b02cae63 dbms: added test script [#METR-2944]. 2014-03-23 07:26:07 +04:00