Commit Graph

7403 Commits

Author SHA1 Message Date
Alexey Milovidov
6fbf9b5eb3
Merge pull request #52821 from ClickHouse/improve-throttling-tests
Do not test upper bounds for throttlers
2023-08-12 03:24:00 +03:00
Alexey Milovidov
a85c2285f8
Merge pull request #53150 from ClickHouse/Improvements_to_backup_restore_concurrency_test_follow
Added functions to disallow concurrency of backup restore test
2023-08-12 03:23:21 +03:00
Alexey Milovidov
e269fc1b4b
Merge pull request #53173 from ClickHouse/warn
Fix warning in test_replicated_database
2023-08-12 03:19:25 +03:00
Alexey Milovidov
5e3e6f5d65
Merge pull request #53279 from ClickHouse/add_garbage_tests
Add garbage
2023-08-12 03:17:54 +03:00
Alexey Milovidov
4ccf9631ed
Merge pull request #53092 from ClickHouse/fix-grammarly
Fix wording
2023-08-12 03:05:53 +03:00
Alexey Gerasimchuck
930b3d3bff Improved test 2023-08-11 23:48:17 +00:00
Arthur Passos
1c3f926615
Merge branch 'master' into pin_coredns_version_and_fix_tests 2023-08-11 10:10:39 -03:00
Alexey Milovidov
a6bc9b90e9
Merge branch 'master' into warn 2023-08-11 15:29:13 +03:00
Yarik Briukhovetskyi
a6f89c0546
Added suggestions for mistyped names for db and tables with different… (#49801)
* Added suggestions for mistyped names for db and tables with different scenarios commented

* fixed bugs

* fixed style check

* fixed errors

* fixed errors

* fixed error with exceptions

* fixed exceptions

* fixed exceptions

* fixed exceptions

* added test and fixed bugs

* fixed style check

* fixed style check

* fixed style check

* fixed check black

* Update test.py

* Fixed server crash

* Fixed server crash and style check

* Fixed style check

* Fixed style check

* Fixed style check

* Fixed bugs with drop_db

* fixed fast test

* added tests

* fixed style check

* fixed style check

* fixed bug with lock_db

* fixed bug with lock_db and fixed reviews

* fixed bug with lock_db and fixed reviews

* fixed style check

* fixed fast test

* fixed fast test

* revert to fd582a2

* revert to fd582a2

* Removed unused parameters

Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>

* Remove unused parameters

Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>

* resolved arguments issue in assertDatabaseExists

* fixing fast test

* fixed fast test

* fixed stateless test for default db

* Update src/Interpreters/DatabaseCatalog.cpp

Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>

* Update src/Interpreters/DatabaseCatalog.cpp

Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>

* Update src/Interpreters/DatabaseCatalog.cpp

Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>

* Fixing tests.

* resolved problem with mutex

* Fixed mutex in assertDatabaseExists

* changes about assertDatabaseExists

* fixed bugs with file types

* fixed string types

* fixed fast test

* fixed mutex

* fixed mutex

* fixed style check

* Update src/Interpreters/DatabaseCatalog.cpp

Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>

* Update src/Interpreters/DatabaseCatalog.cpp

Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>

* Update src/Interpreters/DatabaseCatalog.cpp

Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>

* Update src/Interpreters/DatabaseCatalog.cpp

Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>

* Update src/Interpreters/DatabaseCatalog.cpp

Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>

* Update src/Interpreters/DatabaseCatalog.cpp

Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>

* fixed build

* added -unlocked versions of functions

* Revert "fixed build"

This reverts commit 8ce961be21.

* Revert "fixed build"

This reverts commit 8ce961be21.

* changed usage of assertDatabaseExistsUnlocked()

* fixed style check

* style check

* style check

* Revert "style check"

This reverts commit 28a9ee85a0.

* Merge branch 'master' into hints-for-wrong-db-or-table-name

* Changed AssertDatabaseExists and unified exception output

* resolved proposed changes and modified tests

* Revert "resolved proposed changes and modified tests"

This reverts commit d45337d65c.

* resolved requested changes

* fixed tests

* fixed tests

* fixed check black

* Update include brackets

Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>

* Update suggested changes

* Update suggested changes

* Fixed style check

* Added test to analyzer_integration_broken

* Update DatabaseCatalog.cpp

* Update test.py

* fixed test

* Revert "fixed test"

This reverts commit ca6d4c17c8.

* fixed test

* Revert "fixed test"

This reverts commit fe6d0d9c86, reversing
changes made to 22f4496704.

* Update test.py

* fixed black check

* Update test.py

* fixed long_log_tinylog_deadlock_race

* Update DatabaseCatalog.cpp

* Update test.py

* style

* Update DatabaseCatalog.cpp

* Fixed test

* implemented for IDatabase

* Style check

* removed const_cast

* Update DatabaseCatalog.h

* Update DatabaseCatalog.h

* Update DatabaseCatalog.cpp

* Update DatabaseCatalog.cpp

* Added db name to hints

* Update 00002_log_and_exception_messages_formatting.sql

* Update 00002_log_and_exception_messages_formatting.sql

---------

Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>
2023-08-11 13:24:16 +03:00
Alexey Gerasimchuck
820d821f50 black run 2023-08-11 06:30:48 +00:00
Alexey Gerasimchuck
b7c47af8bf added missed files 2023-08-11 06:18:20 +00:00
Alexey Gerasimchuck
5bc5649732 added an integration test for peak_memory_usage 2023-08-11 05:39:13 +00:00
Bharat Nallan Chakravarthy
73ea9b058f add integration tests 2023-08-10 21:14:47 -07:00
Alexey Milovidov
19ef25a7d2 Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-grammarly 2023-08-11 01:04:33 +02:00
Alexey Milovidov
5fa4cb9345
Revert "#2 Added new tests for session_log and fixed the inconsistency between login and logout." 2023-08-11 00:59:48 +03:00
Dmitry Novik
e1c20bb251
Merge branch 'master' into fix-system-flush-test 2023-08-10 22:22:47 +02:00
Arthur Passos
8656f9090b black 2023-08-10 17:22:01 -03:00
Arthur Passos
9781a8cee9 bring back dns tests, fix them by pining coredns version and modifying test_reverse_dns_query 2023-08-10 16:45:29 -03:00
Alexander Tokmakov
3d59ebe108 fix 2023-08-10 20:11:22 +02:00
robot-ch-test-poll3
c3c4125328
Merge pull request #53255 from arenadata/ADQM-1011
#2 Added new tests for session_log and fixed the inconsistency between login and logout.
2023-08-10 17:06:24 +02:00
Alexander Tokmakov
6ae0ba1163 Merge branch 'master' into fixes_for_detached_parts 2023-08-10 17:01:05 +02:00
Alexander Tokmakov
635e7e74a8 add garbage 2023-08-10 16:52:57 +02:00
Alexey Milovidov
1365fc91c7
Merge pull request #53081 from ClickHouse/Something
Something with tests
2023-08-10 17:02:25 +03:00
pufit
8c9209745c
Merge pull request #53127 from ClickHouse/pufit/keeper-client-improvements
Revert Revert "Implementing new commands for keeper-client"
2023-08-10 09:51:36 -04:00
pufit
af51268da1
Merge pull request #51912 from ClickHouse/pufit/role-from-storage
Create, Drop, or Move access entities between different access storages.
2023-08-10 09:47:26 -04:00
Alexey Gerasimchuck
7ed7707ab7 black run 2023-08-10 11:19:16 +00:00
Alexey Gerasimchuck
0ff5d12788 Added decription to the test + race condition fix 2023-08-10 11:14:55 +00:00
Sergei Trifonov
a9ae102169
Merge branch 'master' into improve-throttling-tests 2023-08-10 13:04:28 +02:00
Nikolay Degterinsky
7321f5e543 Better 2023-08-10 06:34:10 +00:00
Alexey Gerasimchuck
d499f8030a reverted change in test 2023-08-10 05:20:00 +00:00
Alexey Gerasimchuck
26aded5062 Used main connections for suggestions 2023-08-10 04:11:07 +00:00
Alexey Milovidov
cf97797836
Merge pull request #53241 from ClickHouse/remove-gargabe-tests
Remove garbage
2023-08-10 07:04:20 +03:00
Alexey Gerasimchuck
b8be7eef04 Added new tests for session_log and bugfix 2023-08-10 03:45:59 +00:00
Nikolay Degterinsky
3c6d140c17 Fix sigle quote escaping in PostgreSQL engine 2023-08-10 01:31:59 +00:00
Alexey Milovidov
bc2015356a
Merge branch 'master' into fix-system-flush-test 2023-08-10 04:14:14 +03:00
Alexey Milovidov
9c5e5ed2d0
Merge branch 'master' into vdimir/test_quorum_inserts 2023-08-10 04:12:53 +03:00
Alexey Milovidov
c071f6755d
Revert "Added new tests for session_log and fixed the inconsistency between login and logout." 2023-08-10 04:10:03 +03:00
Alexey Milovidov
2f0ecd2ddf
Merge branch 'master' into Something 2023-08-10 03:45:13 +03:00
Michael Kolupaev
65d3778b03 Fix warning in test_replicated_database 2023-08-09 23:40:08 +00:00
pufit
1a3eac0d4d
Merge branch 'master' into pufit/role-from-storage 2023-08-09 17:50:07 -04:00
Alexey Milovidov
481792181e Remove garbage 2023-08-09 23:12:39 +02:00
Alexander Tokmakov
54a82072e7
Update test.py 2023-08-09 15:06:31 +03:00
Alexander Tokmakov
48ed54e822
Allow experimantal features when recovering Replicated db replica (#53167)
* allow experimantal features when recovering Replicated db replica

* Automatic style fix

---------

Co-authored-by: robot-clickhouse <robot-clickhouse@users.noreply.github.com>
2023-08-09 14:35:50 +03:00
Alexander Tokmakov
85af996d5c
Update test.py (#53195) 2023-08-09 12:53:05 +03:00
pufit
884ea7f592
Merge branch 'master' into pufit/role-from-storage 2023-08-08 20:20:37 -04:00
Alexey Milovidov
f6faacd394
Merge branch 'master' into Something 2023-08-08 23:55:27 +03:00
robot-clickhouse
4b6ade18b2 Automatic style fix 2023-08-08 20:06:59 +00:00
Dmitry Novik
2637308207 Analyzer: fix test_system_flush_logs 2023-08-08 19:54:07 +00:00
Alexander Tokmakov
2a92dc4b70
Update conftest.py (#53166)
* Update conftest.py

* Automatic style fix

---------

Co-authored-by: robot-clickhouse <robot-clickhouse@users.noreply.github.com>
2023-08-08 22:23:18 +03:00
Alexey Milovidov
227586acf4
Merge pull request #53113 from ClickHouse/Fix_flaky_test_user_azure_query
Fix flaky test by using azure_query function
2023-08-08 20:09:04 +03:00
Alexander Tokmakov
c1b94b4a3f fixes for detach/attach partition 2023-08-08 17:55:04 +02:00
Dmitry Novik
29051b7fd1
Merge branch 'master' into analyzer-fix-integration 2023-08-08 16:13:44 +02:00
vdimir
60ab34f6b0
sync second replica in test_insert_quorum 2023-08-08 11:06:49 +00:00
vdimir
52c7a29309
use unique table names in test_quorum_inserts 2023-08-08 11:02:25 +00:00
alesapin
c12292306d
Merge pull request #53107 from ClickHouse/remove_duplicate_test
Remove duplicate test: `test_concurrent_alter_with_ttl_move`
2023-08-08 11:53:46 +02:00
alesapin
d5338826c9
Merge pull request #53108 from ClickHouse/relax_flaky_test
Relax flaky test `test_s3_engine_heavy_write_check_mem`
2023-08-08 11:53:02 +02:00
robot-clickhouse
201b4fd661 Automatic style fix 2023-08-08 09:32:44 +00:00
Smita Kulkarni
1994bc0d05 Improvements to disallow concurrency of backup restore function, added wait_for_fail_backup & wait_for_fail_restore 2023-08-08 11:08:43 +02:00
pufit
2f46ae850e
Merge branch 'master' into pufit/role-from-storage 2023-08-07 17:57:41 -04:00
Alexander Tokmakov
3073f783e9
Merge pull request #53119 from ClickHouse/tavplubix-patch-9
Update `test_restore_replica`
2023-08-08 00:29:28 +03:00
Vitaly Baranov
6af6247f8a
Merge pull request #52970 from arenadata/ADQM-985
Add `storage_policy` parameter in the `SETTINGS` clause of `RESTORE` statements
2023-08-07 19:01:08 +02:00
pufit
30700996f0 Merge branch 'master' into pufit/keeper-client-improvements
# Conflicts:
#	docs/en/operations/utilities/clickhouse-keeper-client.md
#	programs/keeper-client/Commands.cpp
#	programs/keeper-client/Commands.h
#	programs/keeper-client/KeeperClient.cpp
#	tests/integration/test_keeper_client/test.py
2023-08-07 12:26:08 -04:00
pufit
8e6f7b4d0b Fix typo, fix tests, touch command. 2023-08-07 12:08:31 -04:00
robot-clickhouse
a69bbc8a5a Automatic style fix 2023-08-07 15:49:34 +00:00
Dmitry Novik
53f9bf2ea3 Update list 2023-08-07 15:22:11 +00:00
Alexander Tokmakov
97a2988919
Update test.py 2023-08-07 16:58:59 +03:00
robot-clickhouse
9587589a49 Automatic style fix 2023-08-07 13:04:51 +00:00
Smita Kulkarni
30d7b7999e Updated to use azure_query in test & test_cluster 2023-08-07 14:46:21 +02:00
Alexander Tokmakov
73d75cde11
Merge pull request #52958 from arenadata/ADQM-1011
Added new tests for session_log and fixed the inconsistency between login and logout.
2023-08-07 15:18:16 +03:00
Alexander Tokmakov
c7996d5453
increase election timeout in integration tests (#53052) 2023-08-07 14:48:52 +03:00
Alexander Sapin
eb43d480f0 Relax flaky test 2023-08-07 12:59:25 +02:00
Alexander Sapin
c830ad0a81 Fix 2023-08-07 12:58:00 +02:00
robot-clickhouse
8dc360e4c7 Automatic style fix 2023-08-07 10:31:41 +00:00
Alexander Sapin
80b681022c Remove duplicate test 2023-08-07 12:20:44 +02:00
Kseniia Sumarokova
e593efc827
Merge pull request #53032 from valbok/nc-alter
MaterializedMySQL: Add tests to alter named collections
2023-08-07 11:54:49 +02:00
Alexey Gerasimchuck
7dbc0d3510
Merge branch 'master' into ADQM-1011 2023-08-07 18:54:16 +10:00
SmitaRKulkarni
75f81bdc44
Merge pull request #50795 from ClickHouse/azure_table_function_cluster
Table function azureBlobStorageCluster
2023-08-07 09:16:52 +02:00
Alexey Milovidov
674767df16 Fix review comments 2023-08-06 16:29:15 +02:00
Alexey Milovidov
3f9e6bb2f0 Merge branch 'fix-grammarly' of github.com:ClickHouse/ClickHouse into fix-grammarly 2023-08-06 16:28:08 +02:00
Alexey Milovidov
93a10980e9 Fix review comments 2023-08-06 16:27:45 +02:00
robot-clickhouse
5b0b5284c5 Automatic style fix 2023-08-06 12:57:48 +00:00
Alexey Milovidov
ce2fcc8f33 Fix wording 2023-08-06 14:48:20 +02:00
Alexey Gerasimchuck
b65a86c530
Merge branch 'master' into ADQM-1011 2023-08-06 07:29:40 +10:00
Alexey Milovidov
0a6d9881a7 Maybe better, but not sure 2023-08-05 16:52:44 +02:00
Alexey Milovidov
aa57fb6602 Maybe better, but not sure 2023-08-05 14:07:55 +02:00
Alexey Milovidov
10af8fcca4 Fix Python 2023-08-05 14:05:06 +02:00
Alexey Milovidov
9de9587965 Something with tests 2023-08-05 13:54:36 +02:00
Alexey Milovidov
6825b008e7
Merge pull request #52906 from azat/tests/fix-EADDRINUSE-v2
tests: fix possible EADDRINUSE v2
2023-08-05 13:39:25 +03:00
Alexey Gerasimchuck
c2f94101e9
Merge branch 'master' into ADQM-1011 2023-08-05 20:35:45 +10:00
Alexey Milovidov
7f4ce7697b
Merge branch 'master' into vdimir/tmp_storage_cache_msg 2023-08-04 23:11:28 +03:00
SmitaRKulkarni
1e3ae89161
Merge branch 'master' into azure_table_function_cluster 2023-08-04 21:39:32 +02:00
Victor Krasnov
a2f48e5bb3 Merge branch 'master' into ADQM-985 2023-08-04 19:02:18 +03:00
Alexey Milovidov
376eeeb842
Fix test_zookeeper_config (#52988)
* Fix `test_zookeeper_config`

* Update tests/integration/test_zookeeper_config/test.py

Co-authored-by: Alexander Tokmakov <tavplubix@clickhouse.com>

* Update tests/integration/test_zookeeper_config/test.py

* Update test.py

---------

Co-authored-by: Alexander Tokmakov <tavplubix@clickhouse.com>
2023-08-04 17:18:50 +03:00
Dmitry Novik
02ed17dfa5 Analyzer: do not enable it for old servers in tests 2023-08-04 14:16:33 +00:00
Kruglov Pavel
b1fe9ce8f7
Merge branch 'master' into formats-with-subcolumns 2023-08-04 13:01:12 +02:00
alesapin
109b0197d6
Merge pull request #52984 from ClickHouse/remove-test_host_regexp_multiple_ptr_records_concurrent
Remove `test_host_regexp_multiple_ptr_records_concurrent`, CC @arthurpassos
2023-08-04 11:58:19 +02:00
Val Doroshchuk
3d7bf0626c MaterializedMySQL: Add tests to alter named collections 2023-08-04 11:50:53 +02:00
Kseniia Sumarokova
39916f15eb
Merge branch 'master' into utf-dml-test 2023-08-04 11:26:43 +02:00
alesapin
4390129511
Merge pull request #52989 from ClickHouse/relax_test
Remove assertion from test_no_ttl_merges_in_busy_pool
2023-08-04 11:00:56 +02:00
Kseniia Sumarokova
af610062ec
Merge pull request #52962 from canhld94/fix_mysql_password_leak
Fix password leak in show create mysql table
2023-08-04 10:57:59 +02:00