Commit Graph

559 Commits

Author SHA1 Message Date
Raúl Marín
a45c8bd7f1
Merge pull request #57315 from Algunenano/randomize_optimizations
Randomize disabled optimizations in CI
2023-12-13 10:42:11 +01:00
Alexey Milovidov
00aca9a3d4
Merge pull request #57634 from ClickHouse/fix-logs-and-exceptions-messages-formatting-4
Fix "logs and exception messages formatting", part 4
2023-12-08 22:02:02 +01:00
Alexey Milovidov
5dcdbf499b Fix "logs and exception messages formatting", part 4 2023-12-07 22:04:48 +01:00
Alexey Milovidov
81e0d081a2 Fix "logs and exception messages formatting", part 2 2023-12-07 21:48:43 +01:00
Alexey Milovidov
6ed8ea96af Fix "logs and exception messages formatting", part 2 2023-12-07 21:43:47 +01:00
Alexey Milovidov
ba1404136c Fix "logs and exception messages formatting", part 2 2023-12-07 21:42:57 +01:00
Raúl Marín
89b9373398 More random after tests are successful 2023-12-05 18:17:47 +00:00
Raúl Marín
3eb68a6740 optimize_using_constraints is broken 2023-12-04 10:08:46 +00:00
Raúl Marín
3867adbb10 Adapt tests and avoid using optimize_syntax_fuse_functions at all 2023-11-30 19:19:26 +01:00
Raúl Marín
64bd77fe9c Do not randomize optimize_functions_to_subcolumns 2023-11-30 14:05:19 +01:00
Raúl Marín
025fcd3aa4 Enable the settings to do a full run with them enabled 2023-11-28 18:22:49 +01:00
Raúl Marín
ade60b5b45 Randomize disabled optimizations in CI 2023-11-28 14:12:26 +01:00
Alexey Milovidov
f8ebe5134d
Merge pull request #55836 from azat/dist/limit-by-fix
RFC: Fix "Cannot find column X in source stream" for Distributed queries with LIMIT BY
2023-11-26 04:03:41 +01:00
Kseniia Sumarokova
d384762123
Merge branch 'master' into fs-cache-improvement 2023-11-21 11:24:52 +01:00
Kseniia Sumarokova
9523bd0ad8
Fix config 2023-11-17 12:17:01 +01:00
robot-clickhouse
501d210647 Automatic style fix 2023-11-04 21:04:39 +00:00
Alexey Milovidov
f5e439d9df Add an option to enable or disable coverage collection in clickhouse-test 2023-11-04 21:53:05 +01:00
Alexey Milovidov
ea6cb1ad0c Maybe better 2023-10-30 01:04:50 +01:00
Alexey Milovidov
8e6a7fdff0 Fix f-string 2023-10-29 23:43:36 +01:00
Alexey Milovidov
4288cb3b78 Make clickhouse-test to calculate coverage on a per-test basis 2023-10-29 17:43:01 +01:00
Alexey Milovidov
8e0f487387 Initial support in clickhouse-test 2023-10-29 17:21:45 +01:00
kssenii
b13adbbeab Fix style check 2023-10-20 11:48:27 +02:00
Azat Khuzhin
7a096904ed clickhouse-test: export product function for jinja2
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-10-19 15:41:03 +02:00
kssenii
89272e0925 Fix upgrade check, randomize more settings 2023-10-19 11:23:56 +02:00
Anton Popov
624782bd8f Merge remote-tracking branch 'upstream/master' into HEAD 2023-09-18 23:13:20 +00:00
Azat Khuzhin
f2ef2ec012 Fix clickhouse-test --no-drop-if-fail on reference mismatch
Previusly it worked only for the case when the clickhouse-client/script
exited with non 0, because the check was done before checking the
reference file.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-09-04 16:55:32 +02:00
Anton Popov
579ec699bf Merge remote-tracking branch 'upstream/master' into HEAD 2023-08-31 12:59:59 +00:00
Michael Kolupaev
ad71bf5f7d Fix flakiness of 00514_interval_operators 2023-08-28 23:35:47 +00:00
Dmitry Novik
16cbda14f8
Merge pull request #53700 from ClickHouse/fix-clickhouse-test-set
Fix running clickhouse-test with python 3.8
2023-08-22 18:07:21 +02:00
Dmitry Novik
1da32d2d1b Fix running clickhouse-test with python 3.8 2023-08-22 15:16:18 +00:00
Alexey Milovidov
a882bf1bb8
Merge pull request #53495 from ClickHouse/i_hate_materialized_views
Fix a race condition between RESTART REPLICAS and DROP DATABASE
2023-08-18 06:40:04 +03:00
Anton Popov
0865c0794e Merge remote-tracking branch 'upstream/master' into HEAD 2023-08-17 14:08:59 +00:00
Alexander Tokmakov
d7272410bd the worst fix for a deadlock ever 2023-08-17 00:42:51 +02:00
Alexander Tokmakov
3fc65a68c7 more parallel tests 2023-08-15 23:04:04 +02:00
Alexander Tokmakov
808bc59c49 Merge branch 'master' into less_no_parallel 2023-08-15 15:49:32 +02:00
Anton Popov
2e22b17d57 add docs and settings randomizations 2023-08-15 00:38:07 +00:00
Alexey Milovidov
fb903727c2 Fix wrong query in log messages check 2023-08-13 22:43:28 +02:00
Alexander Tokmakov
0d9e3ca345 remove no-parallel tag from some tests 2023-08-11 00:00:36 +02:00
Alexander Tokmakov
0874b507df
remove obsolete no-upgrade-check tag (#52915) 2023-08-04 14:09:59 +03:00
Kseniia Sumarokova
dbc11b83fd
Merge branch 'master' into kssenii-patch-6 2023-08-01 18:40:20 +02:00
kssenii
2b5a559d78 Fix test 2023-07-31 15:23:45 +02:00
Alexey Milovidov
9ccfa1ede8
Merge branch 'master' into revert-48277-revert-48196-jit-randomization 2023-07-31 15:58:35 +03:00
Azat Khuzhin
bc167dfde8 clickhouse-test: add proper escaping for HTTP parameters
The problem is that old versions of cURL (7.81.0 at least) handle
additional parameters incorrectly if in previous parameter was "/":

    $ docker run --rm curlimages/curl:8.1.2 --http1.1 --get -vvv 'http://kernel.org/?bar=foo/baz' --data-urlencode "query=select 1 format Null"; echo
    > GET /?bar=foo/baz&query=select+1+format+Null HTTP/1.1
    > User-Agent: curl/8.1.2

    $ docker run --rm curlimages/curl:7.81.0 --http1.1 --get -vvv 'http://kernel.org/?bar=foo/baz' --data-urlencode "query=select 1 format Null"; echo
    > GET /?bar=foo/baz?query=select+1+format+Null HTTP/1.1
    > User-Agent: curl/7.81.0-DEV

Note, that I thought about making the same for cli, but it is not that
easy, even after getting rid of sh -c and string contantenation, it
still cannot be done for CLICKHOUSE_CLIENT_OPT.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-07-24 06:13:12 +02:00
Azat Khuzhin
2389e0f0b6 Randomize timezone in tests across non-deterministic around 1970 and default
There was some cases when some patches to the datetime code leads to
flaky tests, due to the tests itself had been runned using regular
timezone (TZ).

But if you will this tests with something "specific" (that is not
strictly defined around 1970 year), those tests will fail.

So to catch such issues in the PRs itself, let's randomize
session_timezone as well.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-07-24 06:13:12 +02:00
Alexey Milovidov
71d6206fc4
Fix Python 2023-07-16 17:42:22 +03:00
Alexey Milovidov
c57dbf3410 Merge branch 'test-cleanup' of github.com:ClickHouse/ClickHouse into test-cleanup 2023-07-15 23:12:29 +02:00
Alexey Milovidov
4f6a0c2fac Loosen the check 2023-07-15 23:11:22 +02:00
robot-clickhouse
a61bc7cfa5 Automatic style fix 2023-07-09 02:03:47 +00:00
Alexey Milovidov
de0837fe21 Check that functional tests cleanup their tables 2023-07-09 03:55:25 +02:00
Alexey Milovidov
9144a2dbb2 Fix unrelated messages from LSan in clickhouse-client 2023-07-08 05:23:13 +02:00