Commit Graph

523 Commits

Author SHA1 Message Date
Alexander Tokmakov
d7272410bd the worst fix for a deadlock ever 2023-08-17 00:42:51 +02:00
Alexey Milovidov
fb903727c2 Fix wrong query in log messages check 2023-08-13 22:43:28 +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
Alexey Milovidov
867c4ece64
Merge branch 'master' into revert-48277-revert-48196-jit-randomization 2023-07-04 22:56:27 +03:00
Alexey Milovidov
d84a4626b0 Disable "compile_expressions" setting by default 2023-06-25 03:22:59 +02:00
Alexey Milovidov
5ddf0dc229
Merge branch 'master' into revert-48277-revert-48196-jit-randomization 2023-06-23 17:54:54 +03:00
Sema Checherinda
d21fc22607 fix 02428_combinators_with_over_statement 2023-06-16 16:38:18 +02:00
Kruglov Pavel
42393b51ee
Fix style 2023-06-12 13:45:00 +02:00
avogar
54414be47b Better 2023-06-08 11:14:43 +00:00
avogar
44ee530b4d Kill gdb in clickhouse-test before getting stacktraces 2023-06-08 11:04:01 +00:00
Alexander Tokmakov
29183ebee9
Merge branch 'master' into revert-48277-revert-48196-jit-randomization 2023-06-02 15:02:11 +03:00
Suzy Wang
49afecc28b
Merge branch 'master' into fvt_unknown_result 2023-05-24 15:58:37 -04:00
Suzy Wang
62fc5bb3eb get detailed error instead of unknown result 2023-05-24 12:54:30 -07:00
Alexander Tokmakov
b6716a8f0f Merge branch 'master' into fix_some_tests4 2023-05-16 14:46:27 +02:00
Alexander Tokmakov
05ae7b2c2d fix some tests 2023-05-15 18:28:12 +02:00
Alexander Gololobov
fcce60ad25 Randomize enable_multiple_prewhere_read_steps 2023-05-12 15:09:34 +02:00
Alexander Tokmakov
99677f3d1a
Update clickhouse-test (#49712) 2023-05-10 00:22:55 +03:00
Michael Kolupaev
49394a097e Fix 'noisy Warning messages' failing when there are no Warning messages 2023-05-06 10:39:59 -07:00
Michael Kolupaev
3745783a22 Make 'exceptions shorter than 30' test less noisy 2023-05-06 10:39:59 -07:00
Nikolai Kochetov
465bc77c20
Merge pull request #49389 from ClickHouse/fix-hung-queries-print
Fix printing hung queries in clickhouse-test.
2023-05-03 13:20:00 +02:00
Alexander Tokmakov
1ec3040d0c
Merge pull request #49420 from ClickHouse/fix_00002
Fix some bad error messages
2023-05-03 13:33:53 +03:00
Alexander Tokmakov
495325f664 fix some bad error messages, suppress others 2023-05-02 17:55:42 +02:00
Nikolai Kochetov
7dab1560b1 Fix printing hung queries in clickhouse-test. 2023-05-02 10:44:30 +00:00
Frank Chen
f74367d74d Fix style check 2023-04-28 00:08:26 +08:00
Frank Chen
33443351c3 Resolve review comments
Signed-off-by: Frank Chen <frank.chen021@outlook.com>
2023-04-27 21:03:14 +08:00
Frank Chen
5b4e014b8e Don't choose io_uring for macOS 2023-04-27 15:18:26 +08:00
Kseniia Sumarokova
0caa34f55e
Do not randomize prefetch settings for debug build (#49134)
* Do not randomize prefetch settings for debug build

* Update tests/clickhouse-test

---------

Co-authored-by: Alexander Tokmakov <tavplubix@gmail.com>
Co-authored-by: Alexander Tokmakov <tavplubix@clickhouse.com>
2023-04-25 16:50:13 +03:00
Kseniia Sumarokova
fff867da68
Update clickhouse-test 2023-04-24 13:09:17 +02:00
Kseniia Sumarokova
00b2960c09
Update clickhouse-test 2023-04-24 13:04:19 +02:00
kssenii
6edb61015d Fix style check 2023-04-20 19:35:49 +02:00
kssenii
fe6af0c5ca Randomize prefetch settings 2023-04-20 14:08:46 +02:00
Alexander Tokmakov
a154fa73f4
Merge pull request #48401 from ClickHouse/fix_00002_log_messages
Find big allocations without memory limits checks
2023-04-05 23:52:39 +03:00
Alexander Tokmakov
0e0e89d596 fix 2023-04-05 15:10:09 +02:00
Alexander Tokmakov
ba65be22da fix bad error messages 2023-04-04 20:21:22 +02:00
Yakov Olkhovskiy
00e335530e
close client 2023-04-03 08:15:18 -04:00
Alexander Tokmakov
661ce2afa1
Merge pull request #48315 from ClickHouse/followup_47863
Follow-up to #47863
2023-04-02 01:56:41 +03:00
robot-ch-test-poll
5555fc78be
Merge pull request #48287 from Algunenano/randomize_vertical_merges
Randomize allow_vertical_merges_from_compact_to_wide_parts in tests
2023-04-01 20:48:08 +02:00
Alexey Milovidov
8d38d3aab1
Merge pull request #48286 from ClickHouse/randomize-compress-marks
Randomize compression of marks and indices in tests
2023-04-01 21:46:37 +03:00
Alexander Tokmakov
230adac9f6 fixes 2023-04-01 18:23:59 +02:00