Commit Graph

9947 Commits

Author SHA1 Message Date
Vitaly Baranov
6c104e7c73 Simplify test test_backup_restore_on_cluster/test_disallow_concurrency 2024-07-29 13:12:05 +02:00
Vitaly Baranov
8f6a8b7ad6 Fix test test_backup_restore_on_cluster/test_disallow_concurrency 2024-07-29 13:12:05 +02:00
Pablo Marcos
5b9427dc56 Fix test flakiness
- Increase from 10s to 20s the max_age. Removes flakiness due to
  the files in minio still present in following execution, even
  if the cleanup stage of the test is clearly removing them.
- Use a busy-loop to check conditions directly, removing the
  unnecessary sleep.
2024-07-29 10:36:18 +00:00
Andrey Zvonov
ac001c0c6f no parallel for kerberized kafka 2024-07-29 08:41:23 +00:00
Vitaly Baranov
56353f7d22 Remove test test_broken_projections_in_backups_1 2024-07-29 05:25:46 +02:00
Alexey Milovidov
da582fd2e9 Merge branch 'fix-kafka' into ast-data-type 2024-07-28 21:17:52 +02:00
Alexey Milovidov
1f784d1862 Tests for Kafka cannot run in parallel 2024-07-28 21:15:23 +02:00
Alexey Milovidov
10b3cb92bc Tests for Kafka cannot run in parallel 2024-07-28 21:14:47 +02:00
Vitaly Baranov
99322feabe Add parameter 'backups.test_randomize_order' to backup configuration
to make reproducing the issue easier.
2024-07-28 03:44:01 +02:00
Alexey Milovidov
3818d701d6 Merge branch 'master' into ast-data-type 2024-07-27 04:19:41 +02:00
Azat Khuzhin
870ec237bb Add ability to load dashboards for system.dashboards from config
One of the obvious reasons is to allow rendering them with readonly
user, which is not possible right now, due to usage of merge() function
there.

Another one, is to add some custom metrics.

Note, that once set, they overrides the default dashboards preset.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-07-26 21:21:09 +02:00
Sergei Trifonov
8943561372
Merge pull request #67223 from ClickHouse/fix-test-pkill
Fix flaky `test_pkill_query_log` (tsan)
2024-07-26 17:57:11 +00:00
serxa
1e12ac577a Fix flaky test_pkill_query_log (tsan) 2024-07-26 14:26:37 +00:00
Alexey Milovidov
36a875dda4 Merge branch 'fix-idiotic-code' into ast-data-type 2024-07-26 15:32:15 +02:00
Han Fei
a9ceb0c49c
Merge pull request #66915 from zvonand/zvonand-fix-66835
[CI fest] Try to fix `test_broken_projections/test.py::test_broken_ignored_replicated`
2024-07-26 11:31:32 +00:00
Pablo Marcos
3f1dbdfce9 Clarify documentation 2024-07-26 11:01:10 +00:00
Pablo Marcos
98418120cd Add parallel integration test execution to doc 2024-07-26 10:22:57 +00:00
Pablo Marcos
5bf89a4331 Set a different instance dir when using pytest-xdist
This allows executing in integration tests in parallel
without directory clashes.
2024-07-26 08:42:54 +00:00
Alexey Milovidov
d00a29898e Merge branch 'master' into ast-data-type 2024-07-26 04:56:05 +02:00
Igor Nikonov
e32109174e
Merge pull request #66880 from zoomxi/unavaliable_replicas
Fix: throw if can't connect to any participating replicas for parallel replicas query execution
2024-07-25 19:56:06 +00:00
Alexey Milovidov
4bf8d72a67 Merge branch 'fix-idiotic-code' into ast-data-type 2024-07-25 19:06:15 +02:00
Alexey Milovidov
76fc054aa8
Merge pull request #66998 from ClickHouse/remove-kerberized-hdfs
Remove the support for Kerberized HDFS
2024-07-25 16:51:12 +00:00
Pablo Marcos
59f9c12504 Increase sleep time make sure there is a new failure
The previous sleep was already adding +5s to make sure
the TTL was properly applied, so we'd rather use the
same value here instead of just 1s.
2024-07-25 14:37:50 +00:00
Antonio Andelic
670413a69d
Merge pull request #67016 from ClickHouse/static-order-mess
Try to fix exception logging in destructors of static objects
2024-07-25 13:46:22 +00:00
Daniil Ivanik
2457a2a7d7
Merge pull request #66851 from yohannj/fix_error_codes
Update error codes related to number of accepted arguments
2024-07-25 13:32:14 +00:00
Vitaly Baranov
ac514a5103
Merge pull request #66881 from vitlibar/fix-broken-part-error-while-restoring-to-s3-plain-rewritable
Fix broken part error while restoring to s3_plain_rewritable
2024-07-25 11:16:31 +00:00
alesapin
0a023e763a
Merge pull request #67067 from ClickHouse/increase_timeout_for_server
[CI Fest] Increase timeout for test_broken_part_during_merge
2024-07-25 10:17:09 +00:00
János Benjamin Antal
d785f4dde9
Merge pull request #67070 from ClickHouse/fix-flaky-test-seekable-formats-tests
Fix flaky `test_seekable_formats_url` and `test_seekable_formats` S3 storage tests
2024-07-25 08:32:52 +00:00
Ilya Yatsishin
db5b4c0e96
Merge pull request #66986 from qoega/integration-flaky-check-repeat
Add hardening to integration tests flaky check: repeat test case multiple times with same environment.
2024-07-25 08:18:37 +00:00
Nikita Fomichev
e1f89f41f7
Merge pull request #67027 from ClickHouse/fix-flaky-integration-tests
Integration tests: fix flaky tests `test_backup_restore_on_cluster/test_concurrency.py` & `test_manipulate_statistics/test.py`
2024-07-25 07:50:17 +00:00
zoomxi
82959ce5b3 format test.py 2024-07-25 09:55:23 +08:00
Alexey Milovidov
397a523971
Merge pull request #67019 from ClickHouse/divanik/fix_test_azure_flaky
[Green CI] Fix test test_storage_azure_blob_storage
2024-07-24 19:03:05 +00:00
robot-clickhouse
ce153c9b54 Automatic style fix 2024-07-24 16:05:18 +00:00
Vitaly Baranov
2e25808e58 Fix test test_backup_restore_s3. 2024-07-24 18:04:29 +02:00
János Benjamin Antal
fa48ff0ca1 Separate tests 2024-07-24 15:49:17 +00:00
alesapin
f990f235da Increase timeout for test_broken_part_during_merge 2024-07-24 17:20:19 +02:00
Pablo Marcos
f03d4bb7d5 Format with black 2024-07-24 15:10:25 +00:00
Alexey Milovidov
01ce22049a Fix tests 2024-07-24 14:29:14 +02:00
Pablo Marcos
91b7001df6 Refactor test to improve it
- Create wait_for_condition that checks greedily for a period of time
- Remove redundant checks
- Allow other tests running in parallel to have `ObjectStorageQueueFailedFiles` errors
2024-07-24 12:08:31 +00:00
Nikita Fomichev
9aaf806021 Integration tests: fix flaky tests 2 2024-07-24 14:03:40 +02:00
Pablo Marcos
b25cad23ed Use unique names for tables and files 2024-07-24 11:42:51 +00:00
Yatsishin Ilya
d507adf9a7 fix 2024-07-24 11:33:31 +00:00
Nikita Fomichev
2ea10d9994 Integration tests: fix flaky tests 2024-07-24 13:13:58 +02:00
divanik
f21a9e5d08 Fix bug 2024-07-24 11:00:49 +00:00
divanik
1b95a68dc0 Fix typo 2024-07-24 10:48:18 +00:00
divanik
8c19d502f8 Add decorator and retries for azurite 2024-07-24 10:44:06 +00:00
robot-clickhouse
e7b5c0ea19 Automatic style fix 2024-07-24 10:14:35 +00:00
Antonio Andelic
48b3008126 Handle better static destructors 2024-07-24 12:04:28 +02:00
Robert Schulze
68a0b28b81
Merge pull request #66934 from rschu1ze/issue-66887
Un-flake test_runtime_configurable_cache_size
2024-07-24 08:10:59 +00:00
Ilya Yatsishin
02ee0d8dd4
Merge pull request #66896 from qoega/improve-integration-tests-1
Improved test_storage_s3 tests to make it repeatable
2024-07-24 07:52:39 +00:00
Alexey Milovidov
e156db4922 Remove the support for Kerberized HDFS 2024-07-24 07:56:11 +02:00
zoomxi
d460fa9f36 create coordinator after the number of replicas to use for the query is determined 2024-07-24 09:57:00 +08:00
Ilya Yatsishin
d04ca9eea6 fix 2024-07-24 00:08:32 +02:00
Ilya Yatsishin
fe487a11bf Merge remote-tracking branch 'qoega/improve-integration-tests-2' into integration-flaky-check-repeat 2024-07-23 23:57:31 +02:00
Yatsishin Ilya
7a6233340e Hardening of test_backup_restore_new test 2024-07-23 21:57:01 +00:00
Ilya Yatsishin
2f8b28a17c Touch test to trigger flaky check 2024-07-23 17:05:23 +02:00
Ilya Yatsishin
e0a7aa80af Enable repeat for flaky check for more tests hardening 2024-07-23 16:57:07 +02:00
Yatsishin Ilya
e671d4c55d more changes 2024-07-23 14:43:49 +00:00
Robert Schulze
919005c4f7
Incorporate review feedback 2024-07-23 13:10:01 +00:00
Robert Schulze
496c1fbf84
Un-flake test_runtime_configurable_cache_size 2024-07-23 12:46:09 +00:00
Yatsishin Ilya
1c723e7fd7 black 2024-07-23 09:10:47 +00:00
Andrey Zvonov
8fb560d257 add replica sync 2024-07-23 07:08:58 +00:00
Antonio Andelic
133e734d73 Move to integration test 2024-07-23 09:05:09 +02:00
zoomxi
dee5790b22 According to the suggestions from cr, modify test code 2024-07-23 10:49:37 +08:00
Yatsishin Ilya
ac679892ab fix 2024-07-22 16:28:11 +00:00
Yatsishin Ilya
69be00cbf0 Improve 2024-07-22 16:27:28 +00:00
jsc0218
ae5eccbf20 just a commit to trigger CI 2024-07-22 13:39:48 +00:00
Alexey Milovidov
ffb766d30e
Merge pull request #66818 from ClickHouse/miscellaneous
Miscellaneous
2024-07-22 13:24:21 +00:00
Yatsishin Ilya
af4c2fa8a4 fix 2024-07-22 12:27:24 +00:00
Yatsishin Ilya
2dc264928f Added tests, rewritten logic which engines and table functions to allow, added replace for create table ... AS table_function() syntax. 2024-07-22 11:33:51 +00:00
zoomxi
8246614f5e throw if can't connect to any participating replicas 2024-07-22 19:21:24 +08:00
Yohann Jardin
2f1818b8d5 update error codes related to number of accepted arguments 2024-07-22 11:21:54 +02:00
Alexey Milovidov
1a3559fbc3 What if I will change this test? 2024-07-22 08:47:32 +02:00
Alexey Milovidov
3d4604a64a Revert "What if I will change this test?"
This reverts commit ed02246e0c.
2024-07-22 08:47:08 +02:00
Alexey Milovidov
ed02246e0c What if I will change this test? 2024-07-22 08:46:41 +02:00
Alexey Milovidov
2570f2b0a3 Merge branch 'miscellaneous' of github.com:ClickHouse/ClickHouse into miscellaneous 2024-07-21 11:29:30 +02:00
Alexey Milovidov
7ed9ab2338 Remove wrong logic from InterpreterCreateQuery 2024-07-21 11:29:12 +02:00
robot-clickhouse
efd5ff9f4c Automatic style fix 2024-07-21 09:15:22 +00:00
Alexey Milovidov
a6f1c46448 Miscellaneous 2024-07-21 11:08:38 +02:00
Alexey Milovidov
39b298295c
Merge pull request #66760 from ClickHouse/fix-flaky-rabbitmq-test
Use non-existent address to check connection error at table creation
2024-07-21 05:22:09 +00:00
Alexey Milovidov
ee3c0e7e1f Better diagnostics in test_disk_configuration 2024-07-20 21:50:53 +02:00
Alexey Milovidov
d61dd473c6
Merge pull request #66731 from ClickHouse/remove-bad-test
Remove bad test `host_resolver_fail_count`
2024-07-19 23:17:53 +00:00
Alexey Milovidov
160149c1eb
Merge pull request #66743 from ClickHouse/vdimir/issue-65989
Add test test_storage_mysql/test.py::test_joins
2024-07-19 20:18:46 +00:00
Vitaly Baranov
38126bb436 Add test. 2024-07-19 19:09:55 +02:00
János Benjamin Antal
3fb01ed2c9 Use nonexistent address to check connection error at table creation 2024-07-19 12:10:28 +00:00
vdimir
5cca0f1ab7
Add test test_storage_mysql/test.py::test_joins, close #65989 2024-07-19 09:30:26 +00:00
jsc0218
a16fe75ce7 Merge remote-tracking branch 'origin/master' into ClearExceptionMsgTableEngineGrant 2024-07-19 00:41:42 +00:00
Alexey Milovidov
c73dd41c58 Remove bad test host_resolver_fail_count 2024-07-18 19:55:36 +02:00
Xu Jia
c01e2cbeea format 2024-07-18 22:58:30 +08:00
Xu Jia
884dc496a0 format 2024-07-18 20:58:37 +08:00
Xu Jia
b8fbfd227f format 2024-07-18 15:41:08 +08:00
Xu Jia
ff009f23be
Merge branch 'master' into feature_disable_insertion_and_mutation 2024-07-18 15:24:59 +08:00
Antonio Andelic
3d6f91039e
Merge pull request #66548 from ClickHouse/correctly-handle-realloc
Correctly track memory for `Allocator::realloc`
2024-07-18 06:08:17 +00:00
Nikolay Degterinsky
4afd5f60fe
Merge pull request #66409 from evillique/fix-valid-until
Fix VALID UNTIL clause resetting after restart
2024-07-18 00:05:57 +00:00
jsc0218
caa0943b7e Merge remote-tracking branch 'origin/master' into ClearExceptionMsgTableEngineGrant 2024-07-17 17:24:53 +00:00
Nikolay Degterinsky
383ce4bb8c Merge remote-tracking branch 'upstream/master' into fix-valid-until 2024-07-17 14:58:09 +00:00
Nikolai Kochetov
74b4bc78ad
Merge pull request #65400 from k-morozov/add_system_detach_tables
system detached_tables
2024-07-17 14:05:31 +00:00
Sema Checherinda
762593e5e9
Merge pull request #66144 from ClickHouse/revert-66134-revert-61601-chesema-dedup-matview
Revert "Revert "insertion deduplication on retries for materialized views""
2024-07-17 10:44:35 +00:00
Antonio Andelic
51e339305e Merge branch 'master' into correctly-handle-realloc 2024-07-17 09:36:34 +02:00
Yakov Olkhovskiy
452d463d77
Merge pull request #65238 from peacewalker122/master
feat: support accept_invalid_certificate in client's config
2024-07-17 03:54:39 +00:00