Alexey Milovidov
04ed4ece7a
Merge pull request #55208 from arthurpassos/add_option_to_set_env_variables_for_a_single_node_integration_tests
...
Add option to set env variables for a single node in integration tests
2023-10-09 22:37:04 +02:00
robot-clickhouse
1a67e61729
Automatic style fix
2023-10-09 19:10:41 +00:00
Yatsishin Ilya
686c3b458d
Updated RabbitMQ image and fixed log retrieval in failed tests.
2023-10-09 18:39:39 +00:00
Alexey Milovidov
ce8ead34a6
Update cluster.py
2023-10-09 16:00:02 +03:00
Alexey Milovidov
b38d4b5b0f
Merge pull request #55119 from jmaicher/fix/54318/deadlock-ldap-role-update
...
Fix deadlock in LDAP assigned role update
2023-10-08 00:38:10 +02:00
Arthur Passos
3412dc89c6
rename setting
2023-10-03 13:53:38 -03:00
Arthur Passos
032a74ec3a
make sure instance env variables override global ones
2023-10-03 10:33:55 -03:00
Arthur Passos
9695bf5db9
Revert "rename setting"
...
This reverts commit 0b97cd49e8
.
2023-10-02 18:26:31 -03:00
Arthur Passos
0b97cd49e8
rename setting
2023-10-02 18:21:20 -03:00
Arthur Passos
3813e59b49
minor
2023-10-02 18:19:41 -03:00
Arthur Passos
e74e7ae19a
more docs
2023-10-02 16:09:35 -03:00
Arthur Passos
23074c2c03
add comment
2023-10-02 16:04:02 -03:00
Arthur Passos
5eda3dfc39
add exclusive_environment_variables option to inte gtests
2023-10-02 15:59:15 -03:00
Julian Maicher
7db4023928
style: Apply black formatter
2023-09-30 07:04:05 +02:00
Julian Maicher
19f8f365b2
test: Add IT that reproduces deadlock
2023-09-30 07:03:25 +02:00
Alexey Milovidov
5ebd8ef41d
Remove Meilisearch
2023-09-30 06:02:38 +02:00
robot-clickhouse
87e434304c
Automatic style fix
2023-09-28 15:47:24 +00:00
Nikolai Kochetov
1326d9935f
Clean data dir and always start an old server version in aggregate functions compatibility test.
2023-09-28 15:28:26 +00:00
robot-clickhouse
66c2ac9364
Automatic style fix
2023-09-16 00:32:32 +00:00
János Benjamin Antal
d975ee7608
Fix argument parsing bug
2023-09-16 00:07:54 +00:00
János Benjamin Antal
16e2f7f0b9
Add optional version argument to rm
2023-09-16 00:03:46 +00:00
Antonio Andelic
6306180333
Merge pull request #53049 from ClickHouse/keeper-batch-flushes
...
Try batching multiple flush requests in Keeper
2023-09-14 11:39:33 +02:00
pufit
85b23e9403
Increase default timeout in tests for keeper-client
2023-09-12 14:06:57 -04:00
pufit
4f5d132019
Fix timeout keeper-client
2023-09-11 14:46:40 -04:00
Antonio Andelic
1494eb3a86
Fix version parsing
2023-09-11 12:34:16 +00:00
robot-clickhouse
cc78926919
Automatic style fix
2023-09-07 00:44:54 +00:00
pufit
ef2350cfc7
Implementing exists
, sync
commands. Better tests
2023-09-06 20:36:39 -04:00
Antonio Andelic
365bc584ec
Merge branch 'master' into keeper-batch-flushes
2023-09-04 07:24:21 +00:00
Arthur Passos
fd417c84ef
resolve might return proxy2 in some cases, account for that
2023-09-01 13:41:12 -03:00
Antonio Andelic
5f1a75ceae
Fix tests
2023-09-01 12:13:33 +00:00
robot-clickhouse
3999994eb4
Automatic style fix
2023-08-31 15:07:26 +00:00
Antonio Andelic
7739dd7157
Fix integration tests
2023-08-31 14:52:42 +00:00
Antonio Andelic
4137cb916d
Merge branch 'master' into keeper-batch-flushes
2023-08-28 13:14:06 +00:00
Arthur Passos
2bade7db08
Add global proxy setting ( #51749 )
...
* initial impl
* fix env ut
* move ut directory
* make sure no null proxy resolver is returned by ProxyConfigurationResolverProvider
* minor adjustment
* add a few tests, still incomplete
* add proxy support for url table function
* use proxy for select from url as well
* remove optional from return type, just returns empty config
* fix style
* style
* black
* ohg boy
* rm in progress file
* god pls don't let me kill anyone
* ...
* add use_aws guards
* remove hard coded s3 proxy resolver
* add concurrency-mt-unsafe
* aa
* black
* add logging back
* revert change
* imrpove code a bit
* helper functions and separate tests
* for some reason, this env test is not working..
* formatting
* :)
* clangtidy
* lint
* revert some stupid things
* small test adjusmtments
* simplify tests
* rename test
* remove extra line
* freaking style change
* simplify a bit
* fix segfault & remove an extra call
* tightly couple proxy provider with context..
* remove useless include
* rename config prefix parameter
* simplify provider a bit
* organize provider a bit
* add a few comments
* comment out proxy env tests
* fix nullptr in unit tests
* make sure old storage proxy config is properly covered without global context instance
* move a few functions from class to anonymous namespace
* fix no fallback for specific storage conf
* change API to accept http method instead of bool
* implement http/https distinction in listresolver, any still not implemented
* implement http/https distinction in remote resolver
* progress on code, improve tests and add url function working test
* use protcol instead of method for http and https
* small fix
* few more adjustments
* fix style
* black
* move enum to proxyconfiguration
* wip
* fix build
* fix ut
* delete atomicroundrobin class
* remove stale include
* add some tests.. need to spend some more time on the design..
* change design a bit
* progress
* use existing context for tests
* rename aux function and fix ut
* ..
* rename test
* try to simplify tests a bit
* simplify tests a bit more
* attempt to fix tests, accept more than one remote resolver
* use proper log id
* try waiting for resolver
* proper wait logic
* black
* empty
* address a few comments
* refactor tests
* remove old tests
* baclk
* use RAII to set/unset env
* black
* clang tidy
* fix env proxy not respecting any
* use log trace
* fix wrong logic in getRemoteREsolver
* fix wrong logic in getRemoteREsolver
* fix test
* remove unwanted code
* remove ClientConfigurationperRequest and auxilary classes
* remove unwanted code
* remove adapter test
* few adjustments and add test for s3 storage conf with new proxy settings
* black
* use chassert for context
* Add getenv comment
2023-08-24 16:07:26 +03:00
Antonio Andelic
322b53dd62
Merge branch 'master' into keeper-batch-flushes
2023-08-24 09:08:47 +00:00
robot-clickhouse
ee5d7b1d95
Automatic style fix
2023-08-23 08:22:54 +00:00
Antonio Andelic
cceb2b2d57
Disable integration with async replication
2023-08-23 08:12:05 +00:00
Antonio Andelic
59557ddd7c
Merge branch 'master' into keeper-batch-flushes
2023-08-23 08:11:43 +00:00
Konstantin Bogdanov
45856df18c
Remove time.sleep(1)
2023-08-23 08:08:01 +02:00
Nikita Taranov
abcf01b809
impl
2023-08-17 23:51:58 +02:00
Antonio Andelic
ef3e0f7b83
Use async replication in tests
2023-08-09 06:25:47 +00:00
Alexander Tokmakov
c7996d5453
increase election timeout in integration tests ( #53052 )
2023-08-07 14:48:52 +03:00
Nikolai Kochetov
8f5d0c0cd4
Revert "Merge pull request #52514 from azat/tests/fix-test_version_update_after_mutation"
...
This reverts commit dd491eeae2
, reversing
changes made to b225f9c34b
.
2023-07-31 13:03:04 +00:00
Sema Checherinda
115a085d0f
Merge branch 'master' into reset-connection-s3
2023-07-28 14:00:14 +04:00
Sema Checherinda
4629ab1df1
add test with broken pipe
2023-07-28 00:24:05 +04:00
Azat Khuzhin
0401dc453e
Fix flakiness of test_version_update_after_mutation by enabling force_remove_data_recursively_on_drop
...
Since there can be some leftovers:
2023.07.24 07:08:25.238066 [ 140 ] {} <Error> Application: Code: 219. DB::Exception: Cannot drop: filesystem error: in remove: Directory not empty ["/var/lib/clickhouse/data/system/"]. Probably database contain some detached tables or metadata leftovers from Ordinary engine. If you want to remove all data anyway, try to attach database back and drop it again with enabled force_remove_data_recursively_on_drop setting: Exception while trying to convert database system from Ordinary to Atomic. It may be in some intermediate state. You can finish conversion manually by moving the rest tables from system to .tmp_convert.system.9396432095832455195 (using RENAME TABLE) and executing DROP DATABASE system and RENAME DATABASE .tmp_convert.system.9396432095832455195 TO system. (DATABASE_NOT_EMPTY), Stack trace (when copying this message, always include the lines below):
0. DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000e68af57 in /usr/bin/clickhouse
1. ? @ 0x000000000cab443c in /usr/bin/clickhouse
2. DB::DatabaseOnDisk::drop(std::shared_ptr<DB::Context const>) @ 0x000000001328d617 in /usr/bin/clickhouse
3. DB::DatabaseCatalog::detachDatabase(std::shared_ptr<DB::Context const>, String const&, bool, bool) @ 0x0000000013524a6c in /usr/bin/clickhouse
4. DB::InterpreterDropQuery::executeToDatabaseImpl(DB::ASTDropQuery const&, std::shared_ptr<DB::IDatabase>&, std::vector<StrongTypedef<wide::integer<128ul, unsigned int>, DB::UUIDTag>, std::allocator<StrongTypedef<wide::integer<128ul, unsigned int>, DB::UUIDTag>>>&) @ 0x0000000013bc05e4 in /usr/bin/clickhouse
5. DB::InterpreterDropQuery::executeToDatabase(DB::ASTDropQuery const&) @ 0x0000000013bbc6b8 in /usr/bin/clickhouse
6. DB::InterpreterDropQuery::execute() @ 0x0000000013bbba22 in /usr/bin/clickhouse
7. ? @ 0x00000000140b13a5 in /usr/bin/clickhouse
8. DB::executeQuery(String const&, std::shared_ptr<DB::Context>, bool, DB::QueryProcessingStage::Enum) @ 0x00000000140ad20e in /usr/bin/clickhouse
9. ? @ 0x00000000140d2ef0 in /usr/bin/clickhouse
10. DB::maybeConvertSystemDatabase(std::shared_ptr<DB::Context>) @ 0x00000000140d0aaf in /usr/bin/clickhouse
11. DB::Server::main(std::vector<String, std::allocator<String>> const&) @ 0x000000000e724e55 in /usr/bin/clickhouse
12. Poco::Util::Application::run() @ 0x0000000017ead086 in /usr/bin/clickhouse
13. DB::Server::run() @ 0x000000000e714a5d in /usr/bin/clickhouse
14. Poco::Util::ServerApplication::run(int, char**) @ 0x0000000017ec07b9 in /usr/bin/clickhouse
15. mainEntryClickHouseServer(int, char**) @ 0x000000000e711a26 in /usr/bin/clickhouse
16. main @ 0x0000000008cf13cf in /usr/bin/clickhouse
17. __libc_start_main @ 0x0000000000021b97 in /lib/x86_64-linux-gnu/libc-2.27.so
18. _start @ 0x00000000080705ae in /usr/bin/clickhouse
(version 23.7.1.2012)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-07-24 10:34:50 +02:00
Sema Checherinda
cfed3589b0
fix style
2023-07-24 01:11:26 +03:00
Sema Checherinda
3cc7f137bd
add tests with connection reset by peer
2023-07-22 00:45:12 +02:00
Antonio Andelic
59ad2d9acc
Merge branch 'master' into feature/keeper-dyn-reconf
2023-07-21 14:08:26 +02:00
Nikolai Kochetov
e02a7c7382
Merge pull request #52375 from ClickHouse/disable-analyzer-bc-tests
...
Disable analyzer setting in backward_compatibility integration tests.
2023-07-21 13:39:06 +02:00
Antonio Andelic
10c2d5dade
Merge branch 'master' into feature/keeper-dyn-reconf
2023-07-21 13:24:18 +02:00
Alexander Tokmakov
a39ba00ec3
Merge pull request #52116 from aalexfvk/http_failover
...
Handle multiple resolved IPs for HTTP/HTTPS session connection
2023-07-20 18:25:45 +03:00
robot-clickhouse
a26de1b370
Automatic style fix
2023-07-20 15:12:55 +00:00
Nikolai Kochetov
ea252e2f61
Disable analyzer setting in backward_compatibility integration tests.
2023-07-20 15:05:07 +00:00
robot-ch-test-poll
21f22c4043
Merge pull request #49698 from kssenii/fix-pg-sync-tables-exception-broken-sync
...
Fix materialised pg syncTables
2023-07-20 15:38:18 +02:00
Nikolay Degterinsky
209429d0e3
Merge pull request #49664 from ilejn/test_for_basic_auth_registry
...
Basic auth to fetch Avro schema in Kafka
2023-07-20 10:58:11 +02:00
alesapin
45a7134478
Merge branch 'master' into feature/keeper-dyn-reconf
2023-07-19 14:04:59 +02:00
Ilya Golshtein
c550a532e6
test_for_basic_auth_registry - black formatter happy + some doc
2023-07-19 08:32:45 +00:00
Ilya Golshtein
66581d091a
test_for_basic_auth_registry - both tests works, simplifications
2023-07-19 08:32:45 +00:00
Ilya Golshtein
fb3a860d7f
test_for_basic_auth_registry - one kafka instance again
2023-07-19 08:32:45 +00:00
Ilya Golshtein
e3523cb1a4
test_for_basic_auth_registry - attempt to have two kafka instances
2023-07-19 08:32:45 +00:00
Ilya Golshtein
8b0fc82834
test_for_basic_auth_registry - mock up
2023-07-19 08:32:44 +00:00
Azat Khuzhin
e9b7a84aa1
Fix network manager for integration tests
...
Sometimes you may get:
> raise subprocess.CalledProcessError(exit_code, cmd)
E subprocess.CalledProcessError: Command '['iptables', '--wait', '-D', 'DOCKER-USER', '-p', 'tcp', '-s', '172.16.2.3', '-d', '172.16.2.2', '-j', 'DROP']' returned non-zero exit status 137.
And only sometimes you may get the reason:
OCI runtime exec failed: exec failed: cannot exec in a stopped container: unknown
So this means that container for iptables does not exists anymore, and
the reason is the timeout. And the fact that container_exit_timeout was
equal to container_expire_timeout and was 120.
From the docker logs:
time="2023-07-16T15:46:52.513673446Z" level=debug msg="form data: {\"AttachStderr\":false,\"AttachStdin\":false,\"AttachStdout\":false,\"Cmd\":[\"sleep\",\"120\"],\"HostConfig\":{\"AutoRemove\":true,\"NetworkMode\":\"host\"},\"Image\":\"clickhouse/integration-helper:latest\",\"NetworkDisabled\":false,\"OpenStdin\":false,\"StdinOnce\":false,\"Tty\":false}"
time="2023-07-16T15:48:57.611857183Z" level=debug msg="form data: {\"AttachStderr\":false,\"AttachStdin\":false,\"AttachStdout\":false,\"Cmd\":[\"sleep\",\"120\"],\"HostConfig\":{\"AutoRemove\":true,\"NetworkMode\":\"host\"},\"Image\":\"clickhouse/integration-helper:latest\",\"NetworkDisabled\":false,\"OpenStdin\":false,\"StdinOnce\":false,\"Tty\":false}"
And then pytest will try to execute the iptables command:
time="2023-07-16T15:50:57.698705244Z" level=debug msg="starting exec command 860920ab2aa07e8d285050f200ac92423a3cf8ec3fb2f57683541e62cf6bc20e in container 66d6c96671b5e987345290ddd260727d96b99789b512d40f333f6263f42fd2f1"
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-07-18 12:17:26 +02:00
Antonio Andelic
61dc020b4d
Merge branch 'master' into feature/keeper-dyn-reconf
2023-07-17 12:50:17 +02:00
Kseniia Sumarokova
200dfc24b6
Merge branch 'master' into fix-pg-sync-tables-exception-broken-sync
2023-07-17 11:53:42 +02:00
Aleksei Filatov
801d0955ec
Add tests
2023-07-15 08:18:35 +03:00
robot-ch-test-poll
93b40c490f
Merge pull request #51945 from arenadata/ADQM-950-B
...
Implement support of date/time format specifiers in log and error log file names
2023-07-14 18:54:27 +02:00
Dmitry Novik
ee2392bf8e
Merge remote-tracking branch 'origin/master' into analyzer-integration-tests
2023-07-11 08:55:31 +00:00
Victor Krasnov
e592c7c353
Fix integration tests - recover clickhouse_stay_alive_command lost by incomplete copy-paste
2023-07-11 10:32:33 +08:00
Victor Krasnov
e311d31d87
Merge branch 'master' into ADQM-950-B
2023-07-10 15:50:09 +08:00
Alexey Milovidov
b5f9a170eb
Merge pull request #51848 from ClickHouse/many-fixes-3
...
Many fixes [3]
2023-07-07 13:29:49 +03:00
Victor Krasnov
63fbde41fe
Reformat cluster.py (add empty line)
2023-07-07 11:01:39 +08:00
Alexander Tokmakov
fdbd59ec6c
Merge pull request #51135 from ClickHouse/fix_trash_in_disks
...
Try to fix some trash in Disks and part moves
2023-07-07 02:02:17 +03:00
Mike Kot
c2a0607cf8
fix
2023-07-07 00:20:54 +03:00
Mike Kot
4550b15876
try updating tests to wait for cluster configs to come in sync
2023-07-07 00:20:54 +03:00
Mike Kot
8b6376005a
"reconfig" support for CH Keeper
2023-07-07 00:20:54 +03:00
Victor Krasnov
479efaa79a
Add clickhouse_log_file and clickhouse_error_log_file args to add_instance()
2023-07-06 14:16:18 +08:00
Antonio Andelic
57ada39ccf
Add retries and iptables rules dump
2023-07-04 09:31:15 +00:00
Mikhail f. Shiryaev
340262814a
Avoid additional maven requests for spark tests
2023-06-29 12:24:19 +02:00
Mikhail f. Shiryaev
ead81879b4
Update integration tests runner too
2023-06-28 22:19:32 +02:00
Mikhail f. Shiryaev
45cd7f35cd
Use clickhouse/integration-helper from changed images
2023-06-28 22:11:48 +02:00
robot-clickhouse
fc5ed7ffd7
Automatic style fix
2023-06-21 18:45:28 +00:00
Alexander Tokmakov
9157314b2a
fix
2023-06-21 20:29:32 +02:00
Dmitry Novik
49f88f5873
Fix ENV variable name
2023-06-15 14:15:01 +00:00
robot-clickhouse
5d54133248
Automatic style fix
2023-06-13 13:31:14 +00:00
Dmitry Novik
9e8ca5f5ae
Add integration test check with enabled analyzer
2023-06-13 13:09:39 +00:00
Sema Checherinda
2c018f5261
do not call finalize after exception
2023-06-13 10:48:31 +02:00
Sema Checherinda
0aa30ef129
reuse s3_mocks, rewrite test test_paranoid_check_in_logs
2023-06-01 01:29:37 +02:00
Vitaly Baranov
6d45d0c374
Use fingerprints instead of key IDs in encrypted disks ( #49882 )
...
* Use fingerprints instead of key IDs to find keys in encrypted disks.
Always use little endian in the headers of encryption files.
* Add tests.
* Fix copying binary files to test containers.
* Fix ownership for copied files in test containers.
* Add comments after review.
---------
Co-authored-by: Nikita Mikhaylov <mikhaylovnikitka@gmail.com>
2023-05-31 13:11:10 +02:00
kssenii
c9e752fdc5
Fix
2023-05-12 00:10:49 +02:00
kssenii
bd59effd9a
Merge remote-tracking branch 'upstream/master' into fix-pg-sync-tables-exception-broken-sync
2023-05-11 13:29:55 +02:00
Sema Checherinda
66e3712dca
Merge branch 'master' into lost-blobs
2023-05-11 08:23:25 +02:00
kssenii
383fc06761
Fix
2023-05-09 16:10:53 +02:00
Alexander Tokmakov
abf6c60ad2
Merge branch 'master' into fix_dictionaries_loading_order
2023-05-08 00:31:03 +02:00
Alexander Tokmakov
6cf3e5b77a
fix race on loading dictionaries
2023-05-05 15:25:18 +02:00
Alexander Tokmakov
83b12ec5ca
replace NO DELAY with SYNC in tests
2023-05-03 20:08:49 +02:00
Sema Checherinda
3ba490e4d6
test when merge canceled with s3
2023-05-03 10:39:03 +02:00
MikhailBurdukov
b229a28e94
Merge branch 'master' into mongo_dict_tls
2023-04-26 23:39:27 +03:00
MikhailBurdukov
ca68cd85d4
Fix style
2023-04-26 20:10:10 +00:00
MikhailBurdukov
d76430fe90
Added options handling for mongoo dict
2023-04-26 19:19:10 +00:00
Alexey Milovidov
98ae9be734
Revert "Added tests for ClickHouse apps help and fixed help issues"
2023-04-21 01:54:34 +03:00
Kseniia Sumarokova
5a8efd3261
Update cluster.py
2023-04-19 17:35:57 +02:00
Ilya Yatsishin
ebb1b990f2
Merge pull request #45819 from qoega/clickhouse-help
2023-04-18 21:46:36 +02:00
Kseniia Sumarokova
9e7d8000a3
Update cluster.py
2023-04-15 13:00:38 +02:00
Vitaly Baranov
80d6b82ac9
Allow starting integration tests without spark.
2023-04-15 11:29:03 +02:00
kssenii
6f53784f22
Merge remote-tracking branch 'upstream/master' into better-tests-for-data-lakes
2023-04-13 15:56:40 +02:00
kssenii
b9811573be
Better
2023-04-13 15:10:49 +02:00
kssenii
37691e573a
Fix black check, add with_spark
2023-04-13 11:12:24 +02:00
kssenii
0c8d65b759
Fix java error
2023-04-12 23:12:49 +02:00
Alexey Milovidov
9a3030803e
Merge pull request #48596 from azat/ci/second_deadlock_stack
...
Add second_deadlock_stack=1 for TSan on CI and fix some lock-order-inversion problems
2023-04-12 22:11:06 +03:00
Yatsishin Ilya
514bb8aff5
Merge remote-tracking branch 'origin' into clickhouse-help
2023-04-12 06:45:22 +00:00
kssenii
e32c98e412
Close spark session
2023-04-11 17:25:32 +02:00
Yatsishin Ilya
b5b65d2149
Merge remote-tracking branch 'origin' into clickhouse-help
2023-04-11 11:24:48 +00:00
Azat Khuzhin
7cd4009c3d
Fix flakiness of test_store_cleanup in case of image rebuild
...
The log level will be substituted from "test" to "trace" in case of the
tag is not "latest", the assumption behind this I guess is that it
should not try to use "test" log level for older versions.
But, it could have per-PR image in case of changes in the Dockerfile, so
it is better to check for self.with_installed_binary, since actually any
parameters except this will use new clickhouse binary anyway.
CI: https://s3.amazonaws.com/clickhouse-test-reports/48596/a1272e8536265929255fdf5020836f057859e425/integration_tests__tsan__[1/6].html
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-04-10 20:31:06 +02:00
Azat Khuzhin
a1272e8536
Pass existing TSAN_OPTIONS to integration tests and append new options
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-04-10 15:17:43 +02:00
Azat Khuzhin
bbee1a36be
Add a comment for use_sigaltstack=0 ASan option
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-04-10 15:06:40 +02:00
Mikhail f. Shiryaev
5bcbdc958a
Reduce probability of reusing the same port
2023-04-04 17:18:24 +02:00
Mikhail f. Shiryaev
a42af5e4ac
Simplify get_free_port helper function
2023-04-04 16:56:42 +02:00
kssenii
8915f49b7d
Merge remote-tracking branch 'upstream/master' into better-tests-for-data-lakes
2023-04-03 17:43:42 +02:00
Alexander Tokmakov
f54fd15112
fix
2023-03-31 12:58:11 +02:00
Alexander Tokmakov
81375431d9
fix some tests
2023-03-31 01:07:08 +02:00
kssenii
71d02d76f5
Better
2023-03-29 20:01:21 +02:00
Yatsishin Ilya
26aacd3d2d
Merge remote-tracking branch 'origin/master' into clickhouse-help
2023-03-28 16:57:58 +00:00
kssenii
04b28bf822
Merge remote-tracking branch 'upstream/master' into better-tests-for-data-lakes
2023-03-28 15:39:24 +02:00
Mikhail f. Shiryaev
290ee6bbf1
Merge pull request #47790 from CurtizJ/apply-black-to-all-files
...
Apply black formatter to all python scripts
2023-03-24 14:20:50 +03:00
Mikhail f. Shiryaev
4f2c336cfc
Update black version, run it for the repository
2023-03-24 11:54:38 +01:00
kssenii
716bbe1a97
Fix style check, black check
2023-03-21 22:19:05 +01:00
kssenii
19819f12f3
Better
2023-03-21 20:19:30 +01:00
Ilya Golshtein
5091b4e224
orphaned role - expiration_time => expiration_time_seconds
2023-03-21 08:44:08 +01:00
Ilya Golshtein
c3ce0aa3ba
orphaned role - cache expiration time and timeout in tests decreased
2023-03-20 23:21:25 +01:00
Ilya Golshtein
4166b3bb09
orphaned role - xml indentation fix
2023-03-20 23:21:25 +01:00
Ilya Golshtein
e1d1ead941
orphaned role - tests only
2023-03-20 23:21:25 +01:00
kssenii
e48d8d12e7
Fixes for hudi
2023-03-17 19:44:30 +01:00
kssenii
0240ad4c68
Add spark to tests, rewrite tests, fix bug
2023-03-08 15:45:35 +01:00
Yatsishin Ilya
d4304d2028
Merge remote-tracking branch 'origin/master' into clickhouse-help
2023-03-02 16:16:18 +00:00
Kruglov Pavel
ce8e49a9a0
Merge pull request #45693 from Avogar/fix-kafka-protobuf
...
Fix formats parser resetting, test processing bad messages in kafka
2023-03-02 11:50:45 +01:00
Alexey Milovidov
656af55831
Merge pull request #46384 from ClickHouse/fixes_for_993
...
Fixes for 993
2023-02-26 01:55:20 +03:00
Yatsishin Ilya
76e7e15f67
black and tty
2023-02-24 13:36:43 +00:00
Kruglov Pavel
2150b836b1
Merge branch 'master' into fix-kafka-protobuf
2023-02-24 12:48:07 +01:00
Yatsishin Ilya
80857638c1
Merge remote-tracking branch 'origin/master' into clickhouse-help
2023-02-22 13:58:17 +00:00
Kseniia Sumarokova
3df7a10ac7
Update postgres_utility.py
2023-02-21 16:25:11 +01:00
Kruglov Pavel
828a06b511
Merge branch 'master' into fix-kafka-protobuf
2023-02-20 21:45:43 +01:00
Alexander Tokmakov
9a664efeb6
Merge branch 'master' into fixes_for_993
2023-02-17 14:17:08 +03:00
Geoff Genz
33037334a5
Add raw content option to http helper methods
2023-02-15 07:17:28 -07:00
Kruglov Pavel
e56dead5aa
Merge branch 'master' into fix-kafka-protobuf
2023-02-15 15:16:25 +01:00
robot-clickhouse
dce8dca4e5
Automatic style fix
2023-02-13 23:53:15 +00:00
Alexander Tokmakov
e712fbecb2
fix race between drop and create
2023-02-14 00:45:28 +01:00
Kseniia Sumarokova
3977643b52
Update cluster.py
2023-02-13 13:42:21 +01:00
Kruglov Pavel
947923321c
Fix style
2023-02-09 14:55:21 +01:00
Kruglov Pavel
59c52c503d
Fix style
2023-02-09 14:09:46 +01:00
Kruglov Pavel
c3c0356fdd
Merge branch 'master' into fix-kafka-protobuf
2023-02-09 13:04:55 +01:00
Yatsishin Ilya
1baa15d603
Merge remote-tracking branch 'origin/master' into clickhouse-help
2023-02-07 15:46:59 +00:00
Yatsishin Ilya
ff4e10fdd4
print what is running when can't stop clickhouse
2023-02-07 15:46:55 +00:00
Azat Khuzhin
0a598c79f4
Remove misleading information that sanitizer errors are in the docker.log
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-04 11:23:26 +01:00
Azat Khuzhin
88dc85e13e
Dump sanitizer errors in the integration tests logs
...
Previously you need to download the artifacts (0.5G+-), or reproduce the
problem.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-04 11:23:26 +01:00
Azat Khuzhin
e6695196aa
tests/integration: add SYS_ADMIN capability for mount/remount
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-01-27 21:11:10 +01:00
Azat Khuzhin
1e3f33ad4b
tests/integration: fix --privileged passthrough
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-01-27 21:11:10 +01:00
avogar
0a99d421f5
Fix formats parser resetting, test processing bad messages in kafka
2023-01-27 13:22:50 +00:00
Yatsishin Ilya
5ae72fe711
Improve failed kafka startup logging
2023-01-17 16:25:05 +00:00
Roman Vasin
2995c6d866
Merge branch 'master' of github.com:ClickHouse/ClickHouse into ADQM-634
2023-01-09 08:26:45 +00:00
Alexey Milovidov
851e4ae59f
Fix typos
2023-01-08 07:08:20 +01:00
Alexey Milovidov
590ad41cbf
Merge pull request #44978 from azat/tests/fix-test_replicated_users
...
tests: fix test_replicated_users flakiness
2023-01-07 03:51:31 +03:00
Vitaly Baranov
0d12d90fb5
Move common code to helpers/mock_servers.py
2023-01-06 15:55:21 +01:00
Azat Khuzhin
c03510cf6b
tests/integration: add query_and_get_error_with_retry() helper
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-01-06 12:45:03 +01:00
Yatsishin Ilya
bbc02c0762
black
2023-01-03 21:28:54 +00:00
Yatsishin Ilya
14274d650b
Rewrite test_postgres_protocol test
2023-01-03 19:30:14 +00:00
Roman Vasin
64c0c6ae99
Refactor test_kerberos_auth test
2022-12-19 11:28:49 +00:00
Roman Vasin
5491aa9627
Implement wait_kerberos_kdc_is_available
2022-12-15 11:50:23 +00:00
Roman Vasin
e2ced517dd
Add integration test test_kerberos_auth
2022-12-14 13:39:23 +00:00
Sema Checherinda
f0294cd6ed
fix test_merge_tree_s3_restore
2022-11-23 15:16:09 +00:00
Sema Checherinda
597421014e
fix style check
2022-11-23 15:16:08 +00:00
Sema Checherinda
db86cd0f0a
fix several critical races, fix tests
2022-11-23 15:16:08 +00:00
Sema Checherinda
44a8f2f460
work with test_merge_tree_s3 and test_merge_tree_s3_restore
2022-11-23 15:16:08 +00:00
Antonio Andelic
3cb202a63b
Merge pull request #43026 from JackyWoo/keeper_manually_assign_leader
...
Keeper support manually assigning leader
2022-11-21 09:30:00 +01:00
Kseniia Sumarokova
f0dbfbb0f4
Merge pull request #42800 from azat/disks/web-fix
...
Do not suppress exceptions in web disk (and fix retries for requests from web disk)
2022-11-20 16:07:45 +01:00
JackyWoo
01b63fd98a
fix style
2022-11-16 12:51:51 +08:00
JackyWoo
ace40a2538
fix tests
2022-11-16 09:33:46 +08:00
robot-clickhouse
aaeeeaf1fc
Automatic style fix
2022-11-15 16:40:01 +00:00
vdimir
03968eb694
Better message in wait_zookeeper_to_start
2022-11-15 16:17:12 +00:00
Azat Khuzhin
de5d777ca2
tests/integration: add ability not to retry server start
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-11-12 13:20:51 +01:00
JackyWoo
8f57ecf595
fix style
2022-11-08 19:56:20 +08:00
JackyWoo
a9d59a7e3f
Simplify keeper_utils.is_leader method
2022-11-08 19:43:36 +08:00
JackyWoo
9060141f16
revert last change
2022-11-08 18:44:43 +08:00
Azat Khuzhin
c399b021cf
Fix sanitizer reports in integration tests
...
Before they was ignored because first there was a check for a sign of
sanitizer (==================), but it was done by
clickhouse-server.log, while sanitizer write to stderr.log.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-20 15:45:40 +02:00
Yakov Olkhovskiy
2229087896
Merge branch 'master' into composable-protocol
2022-10-07 02:23:26 -04:00
alesapin
4b4c63749a
Correct test version
2022-09-28 14:38:11 +02:00
alesapin
2eef384807
Add comments and test
2022-09-28 13:09:48 +02:00
robot-clickhouse
7a6386c732
Automatic style fix
2022-09-25 16:13:17 +00:00
Yakov Olkhovskiy
1407f6bcda
add test
2022-09-25 15:46:12 +00:00
Antonio Andelic
aa700836b8
Merge branch 'master' into start-embedded-keeper-async
2022-09-21 13:46:54 +00:00
Sergei Trifonov
fe88a7991d
Merge branch 'master' into readonly-settings-allow
2022-09-12 16:20:40 +02:00
Alexey Milovidov
91338ea771
Merge branch 'master' into remove-useless-line
2022-09-11 02:03:39 +03:00
robot-clickhouse
79ccce23e9
Automatic style fix
2022-09-09 20:09:54 +00:00
Igor Nikonov
dbfb448290
Fix: integration test, standalone keeper mode
...
There is logic regarding which keeper binary use to start keeper cluster in an integration test
There 2 options:
(1) standalone keeper binary (expected binary name clickhouse-keeper)
(2) clickhouse binary with keeper inside
Fixed:
- option (1) didn't work since docker_compose_keeper.yaml didn't create
target clickhouse-keeper at all
- if clickhouse-keeper existed, option (1) was taken but
clickhouse-keeper could be just a link to clickhouse binary (the link
is created always during build if cmake option BUILD_STANDALONE_KEEPER is OFF)
2022-09-09 14:51:34 +00:00
Antonio Andelic
4a68bfef39
Fix tests with async Keeper start
2022-09-06 12:12:17 +00:00
Sergei Trifonov
7fec55eea4
work in progress
2022-09-02 04:12:05 +02:00
Alexey Milovidov
b42d26acfe
Remove one line from XML, because we do not care
2022-08-28 02:44:02 +02:00
kssenii
d63d34f7bb
Merge master
2022-08-17 15:49:32 +02:00
Alexander Tokmakov
1e6f7a7c52
make it work with python3.8
2022-08-16 09:35:45 +02:00
robot-clickhouse
1b11a5c6fe
Automatic style fix
2022-08-15 20:19:41 +00:00
Alexander Tokmakov
26c2a0ce5e
try to print stacktraces if query timeouts
2022-08-15 22:12:07 +02:00
kssenii
5c3227ba56
Merge master
2022-08-10 12:00:34 +02:00
Sema Checherinda
2c84fcdc3b
test_grpc_protocol_ssl test_ssl_cert_authentication test_tlsv1_3 don't use fixed IP for instances
2022-08-09 12:01:15 +02:00
Alexey Milovidov
0921548a37
Merge pull request #39527 from pkit/pkit/fix_nats_tls
...
fix nats-io TLS support
2022-08-08 08:28:14 +03:00
kssenii
91f4143b6e
Merge master
2022-08-05 12:14:08 +02:00
Constantine Peresypkin
10c76917ea
fix nats-io TLS support
...
nats-io library needs `NATS_HAS_TLS` define to correctly compile-in TLS
support
fixes #39525
2022-08-05 11:20:05 +02:00
kssenii
7a9b0bc47f
Merge master
2022-08-05 01:48:52 +02:00
Ilya Yatsishin
cecdc313d8
Merge branch 'master' into integration-tests-7
2022-08-04 11:37:16 +02:00
Vitaly Baranov
dc25f18f13
Fix flaky integration test test_async_backups_to_same_destination.
2022-08-03 14:22:09 +02:00
kssenii
e5f4a619ed
Merge master
2022-07-31 20:24:40 +03:00
Yatsishin Ilya
633b628e15
fix after conflict
2022-07-25 12:35:34 +00:00
Yatsishin Ilya
25db71a8a3
Merge remote-tracking branch 'origin/master' into integration-tests-7
2022-07-25 09:17:55 +00:00
Alexander Tokmakov
9e9969cea7
Merge pull request #37827 from arthurpassos/host_regexp_multiple_domains
...
Test host_regexp against all PTR records instead of only one
2022-07-21 16:43:05 +03:00
Arthur Passos
29613f4277
remove unused coredns symbols
2022-07-20 14:20:28 -03:00
Arthur Passos
828de2a674
Add host regexp multiple PTR records integration tests
2022-07-20 14:09:38 -03:00
kssenii
21ebf8874e
Merge remote-tracking branch 'upstream/master' into make-cache-composable
2022-07-19 13:36:42 +02:00
Vitaly Baranov
725ad5bf22
Update cluster.py
2022-07-18 20:49:30 +02:00
Alexander Tokmakov
225a5c3c7e
Update tests/integration/helpers/cluster.py
2022-07-18 18:19:02 +03:00
Vitaly Baranov
e67a447fc3
Fix style.
2022-07-18 15:17:53 +02:00
Vitaly Baranov
bd563c210e
Update tests/integration/helpers/cluster.py
...
Co-authored-by: Azat Khuzhin <a3at.mail@gmail.com>
2022-07-18 15:04:03 +02:00
Vitaly Baranov
15882b1d86
Auto set test's name in integration tests.
2022-07-18 15:03:57 +02:00
Yatsishin Ilya
2194f1aa5d
Merge remote-tracking branch 'qoega/integration-tests-7' into integration-tests-7
2022-07-18 09:34:48 +00:00
Yatsishin Ilya
d243b5c785
remove unnecessary try-except
2022-07-18 09:32:19 +00:00
Yatsishin Ilya
eb2da901c7
Merge remote-tracking branch 'origin/master' into integration-tests-7
2022-07-18 09:29:35 +00:00
kssenii
8ad26b3111
Merge master
2022-07-16 22:50:03 +02:00
alesapin
9eb7553fce
Update tests/integration/helpers/cluster.py
2022-07-15 18:03:24 +02:00
Vitaly Baranov
6bf7bffbeb
Correct the list of always accessible system tables.
2022-07-15 15:44:29 +02:00
Vitaly Baranov
c85b2b5732
Add option enabling that SELECT from the system database requires grant.
2022-07-15 15:44:25 +02:00
kssenii
5459644a37
Fix checks
2022-07-14 12:52:30 +02:00
Nikolai Kochetov
df18d6a416
Fix style
2022-07-12 18:12:59 +00:00
Kseniia Sumarokova
adfc7a5a78
Update cluster.py
2022-07-12 14:05:59 +02:00
Kseniia Sumarokova
ffcc80c9e1
Update cluster.py
2022-07-12 13:26:08 +02:00
Ilya Yatsishin
8ef2d87adf
Update tests/integration/helpers/cluster.py
2022-07-11 15:09:42 +02:00
Yatsishin Ilya
e898f65cc5
black
2022-07-07 20:42:41 +00:00
Yatsishin Ilya
d274b05fac
improvements
2022-07-07 20:21:10 +00:00
Kseniia Sumarokova
6c3d648f49
Merge branch 'master' into nats-integration
2022-07-04 21:06:07 +02:00
Alexander Tokmakov
09f09bd96d
apply trash-formatter
2022-06-23 21:40:05 +02:00
Alexander Tokmakov
dbf2763788
automatically convert system database to Atomic
2022-06-23 21:38:43 +02:00
Alexander Tokmakov
1595ff5620
Merge pull request #38260 from bigo-sg/hive_test
...
Improve the stability for hive storage integration test
2022-06-22 21:08:23 +03:00
lgbo-ustc
cdd7a54995
improve stability for hive intergration test
2022-06-21 15:59:54 +08:00
Vitaly Baranov
06c4082a7c
Merge pull request #37358 from vitlibar/backup-improvements-6
...
Backup Improvements 6
2022-06-20 14:13:30 +02:00
Vitaly Baranov
2c8788266c
Fix tests.
2022-06-20 03:44:49 +02:00
Vitaly Baranov
115be82440
DiskAccessStorage is now allowed to backup by default.
2022-06-19 13:16:36 +02:00
Vitaly Baranov
de9a07d18d
Fix RESTORE ALL for tables without database in backup.
2022-06-18 14:07:01 +02:00
Vitaly Baranov
a0c558a17e
Implement backup/restore for ACL system tables (system.users, system.roles, etc.)
2022-06-17 18:14:31 +02:00
Azat Khuzhin
20f0602c20
tests/integration: add ability to query specific host
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-06-16 11:59:01 +03:00
kssenii
4859e11c27
Review fixes
2022-06-12 01:15:10 +02:00
kssenii
7a2676c7ab
Clean up broken detached parts with timeout
2022-06-10 12:27:57 +02:00
mergify[bot]
ddf7210ecc
Merge branch 'master' into remove-useless-code-2
2022-06-03 13:58:45 +00:00
Alexander Tokmakov
153862dc31
fix tests
...
(cherry picked from commit ed52f463d95ac49431600f167a08507d7fcaaaf0)
2022-06-01 13:47:52 +02:00
tchepavel
531bda5a65
Spelling and more black python
2022-05-25 22:13:26 +03:00
tchepavel
d9436ec7dd
Merge branch 'master' into nats-integration
2022-05-23 14:30:09 +03:00
mergify[bot]
747aa5575c
Merge branch 'master' into remove-useless-code-2
2022-05-22 17:41:57 +00:00
Nikolai Kochetov
a19d4c6f1f
Merge pull request #37138 from azat/integration-tests-iptables
...
tests/integration: fix possible race for iptables user rules inside containers
2022-05-18 14:36:33 +02:00
tchepavel
2692d88a42
Merge branch 'master' into nats-integration
2022-05-17 16:59:57 +03:00
tchepavel
a3af94d49e
Documentation; integration tests; subscribe on startup
2022-05-17 16:58:09 +03:00
Mikhail Artemenko
c14fae24c4
run black for python files
2022-05-13 16:55:42 +03:00
Azat Khuzhin
5c1b0f3a76
tests/integration: add logging for NetworkManager
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-05-13 10:57:24 +03:00
mergify[bot]
0e2a86dcee
Merge branch 'master' into MeiliSearch
2022-05-11 08:49:19 +00:00
Vitaly Baranov
69bec2f377
Users without assigned row policies can view rows now.
2022-05-07 14:50:24 +02:00
Mikhail Artemenko
41f657d8ed
Merge branch 'master' into MeiliSearch
2022-05-01 10:01:56 +03:00
mergify[bot]
cc08ccb420
Merge branch 'master' into remove-useless-code-2
2022-04-30 12:48:15 +00:00
Vitaly Baranov
68a020ecea
Implement BACKUP/RESTORE ON CLUSTER.
2022-04-25 16:34:33 +02:00
Alexander Tokmakov
b16faab477
fix configs
2022-04-22 15:37:14 +02:00
alesapin
ba81816dc1
Better cmake
2022-04-20 12:11:55 +02:00
Mikhail Artemenko
2fd86cc564
Merge branch 'master' into MeiliSearch
2022-04-13 12:05:46 +03:00
alesapin
8f822af358
Fix mongodb test with new cert
2022-04-12 11:47:22 +02:00
Alexander Tokmakov
8290ffa88d
Merge branch 'master' into mvcc_prototype
2022-04-07 13:50:42 +02:00
Mikhail Artemenko
151eeb1a27
Merge branch 'master' into MeiliSearch
2022-04-06 17:07:55 +03:00
Kseniia Sumarokova
0e1637dfaf
Merge pull request #35354 from kssenii/enable-testmode-by-default
...
Remove testmode option, enable it unconditionally
2022-04-06 10:06:08 +02:00
Alexey Milovidov
bad2e9dc06
Merge pull request #35936 from DevTeamBK/MARIANA-62
...
Move credentials for integration tests into a separate file (The ticket name in IBM's JIRA is MARIANA-62)
2022-04-06 03:27:27 +03:00
LAL2211
acaeaf2842
black check formatted
2022-04-05 12:46:54 -04:00
kssenii
4bfac4ec99
Remove more testmode mentions
2022-04-05 12:17:34 +02:00
LAL2211
3ecdad9d4b
updated
2022-04-04 14:49:30 -04:00
LAL2211
0340932d57
updated hard coded/ default credentials
2022-04-04 14:35:21 -04:00
Alexander Tokmakov
208b242188
Merge branch 'master' into mvcc_prototype
2022-03-28 19:58:06 +02:00
Alexander Tokmakov
94d32c6b80
Merge branch 'master' into merging_30325
2022-03-23 11:58:57 +01:00
Alexander Tokmakov
bcec53aadc
Merge branch 'master' into mvcc_prototype
2022-03-23 11:28:43 +01:00
Mikhail f. Shiryaev
e6f5a3f98b
Apply black formatter to all *.py files in the repo
2022-03-22 17:39:58 +01:00
Alexander Tokmakov
bc5a689899
add debug logging
2022-03-22 15:34:20 +01:00
Alexander Tokmakov
3c762f566d
Merge branch 'master' into mvcc_prototype
2022-03-21 20:16:29 +01:00
Alexander Tokmakov
d0217a0025
make tests more compact
2022-03-21 14:22:15 +01:00
Alexey Milovidov
0ce4696c49
Revert "[WIP] New row policies"
2022-03-21 08:41:33 +03:00
Alexander Tokmakov
9e05b12d2c
Merge branch 'master' into mvcc_prototype
2022-03-20 22:42:26 +01:00
Vitaly Baranov
afe6a1003a
Add new row policy kind: simple
2022-03-20 17:34:59 +01:00
Alexander Tokmakov
4b3e13a4fe
Merge branch 'master' into mvcc_prototype
2022-03-16 21:06:19 +01:00
alesapin
1edd4347fc
Hope I'll fix it
2022-03-14 21:43:51 +01:00
alesapin
2f8da04891
Fix timezones
2022-03-14 13:46:45 +01:00
Alexey Milovidov
e30ae215cf
Correct some integration tests
2022-03-11 22:51:24 +01:00
Alexander Tokmakov
e9a5a64a71
Merge branch 'master' into mvcc_prototype
2022-01-19 21:41:23 +03:00
Alexander Tokmakov
7458012103
some fixes, add test with restart
2022-01-19 21:29:31 +03:00
mergify[bot]
4ffc3bb589
Merge branch 'master' into fix-mongo2-compose
2022-01-14 18:36:37 +00:00
Mikhail Artemenko
698364f7b0
add tests
2022-01-14 20:58:56 +03:00
Yatsishin Ilya
2fe8f6c60b
Fix ports allocated for mongo2 that is w/o creds
2022-01-14 13:00:38 +00:00
taiyang-li
66813a3aa9
merge master
2022-01-12 16:56:29 +08:00
Kruglov Pavel
94cb98df28
Merge pull request #33177 from kssenii/materialized-postgresql-better-startup
...
materialized postgresql better startup
2022-01-11 12:18:29 +03:00
msaf1980
780a1b2abe
graphite: split tagged/plain rollup rules (for merges perfomance)
2022-01-10 16:34:16 +05:00
kssenii
1984a80750
Merge remote-tracking branch 'upstream/master' into materialized-postgresql-better-startup
2022-01-09 21:23:49 +03:00
kssenii
55430feac9
Improve tests part 2
2022-01-09 15:12:46 +03:00
kssenii
64538cf20f
Merge remote-tracking branch 'upstream/master' into materialized-postgresql-better-startup
2022-01-08 00:49:08 +03:00
kssenii
b0530682e4
Improve tests
2022-01-08 00:47:29 +03:00
alesapin
7a3c874651
Merge branch 'master' into ianton-ru-MDB-15474
2021-12-29 19:01:43 +03:00
taiyang-li
aa97634d9b
merge master
2021-12-28 18:38:50 +08:00
alesapin
90db762c87
Merge pull request #33215 from ClickHouse/fix_flaky_integration_tests
...
Fix some flaky integration tests
2021-12-28 11:27:46 +03:00
Vitaly Baranov
f80a3e3247
Merge pull request #30549 from aiven/kmichel-server-reload
...
Start/stop servers when `listen_host`/`*_port` changes
2021-12-27 14:51:00 +03:00
alesapin
593dc6cf90
Fix some flaky integration tests
2021-12-27 12:24:19 +03:00
taiyang-li
9036b18c2f
merge master
2021-12-27 15:12:48 +08:00
Kevin Michel
ffc1fca296
Start/stop servers when listen_host/*_port changes
...
This allows starting and stopping separately each protocol server
without restarting ClickHouse.
This also allows adding or removing `listen_host` entries, which
start and stops servers for all enabled ports.
When stopping a server, the listening socket is immediately closed
(and available for another server).
Protocols with persistent connections try to wait for any currently
running query to finish before closing the connection, but idle
connection are closed quickly (depending on how often the protocol
is polled).
An extra ProfileEvent is added, `MainConfigLoads`, it is
incremented every time the configuration is reloaded. This helps
when trying to assess whether the new configuration was applied.
2021-12-24 08:26:02 +01:00
ianton-ru
e6fd4bfb50
Merge branch 'master' into MDB-15474
2021-12-21 17:38:36 +03:00
Anton Ivashkin
0c0bf66334
Merge master
2021-12-21 17:27:54 +03:00
Haavard Kvaalen
9a2b0680a1
Fix weird permission on log directories
...
Several log directories for integration tests were created with full
permissions for "others" but no permission for the owner of the
directory. This caused issues when trying to run integration tests
again without manually wiping files from previous runs. The test would
fail with "PermissionError: [Errno 13] Permission denied: 'logs'".
The intention may have been to do the equivalent of 'chmod o+rwx logs',
but it instead did the equivalent of 'chmod 007 logs'.
2021-12-21 11:50:54 +01:00
taiyang-li
d033fc4c24
merge master and fix conflict
2021-12-17 15:11:21 +08:00
alexey-milovidov
4adf3b0285
Merge pull request #32740 from azat/integration-tests-fix-mysql-wait
...
tests/integration: fix waiting of mysql client container
2021-12-14 23:23:50 +03:00
lgbo-ustc
248e933fc4
Add test for local cache
2021-12-14 16:06:30 +08:00
Azat Khuzhin
ae122e430a
tests/integration: fix waiting of mysql client container
...
healthy means that everything is OK and no need to wait.
And before it works only because mysql container was too slow to start
and wait_mysql_client_to_start() returns only when the status was
unhealthy/starting, which was obviously wrong.
Fixes : #20393 (cc @qoega)
2021-12-14 10:04:30 +03:00
Azat Khuzhin
1a134f5fc0
tests/integration: fix printing all available services in wait_mysql_client_to_start()
...
There is no docker-compose.yml in that place, since mysql client has
different name:
2021-12-14 04:03:02 [ 862 ] DEBUG : Command:['docker-compose', 'ps', '--services', '--all'] (cluster.py:63, run_and_check)
2021-12-14 04:03:03 [ 862 ] DEBUG : Stderr: (cluster.py:71, run_and_check)
2021-12-14 04:03:03 [ 862 ] DEBUG : Stderr: Can't find a suitable configuration file in this directory or any (cluster.py:71, run_and_check)
2021-12-14 04:03:03 [ 862 ] DEBUG : Stderr: parent. Are you in the right directory? (cluster.py:71, run_and_check)
2021-12-14 04:03:03 [ 862 ] DEBUG : Stderr: (cluster.py:71, run_and_check)
2021-12-14 04:03:03 [ 862 ] DEBUG : Stderr: Supported filenames: docker-compose.yml, docker-compose.yaml (cluster.py:71, run_and_check)
2021-12-14 04:03:03 [ 862 ] DEBUG : Stderr: (cluster.py:71, run_and_check)
2021-12-14 04:03:03 [ 862 ] DEBUG : Exitcode:1 (cluster.py:73, run_and_check)
2021-12-14 10:00:20 +03:00
Azat Khuzhin
01a57af774
tests/integration: fix wait_start()/start_clickhouse()
...
Execute query at least once, otherwise it may incorrectly detect that
the server is "alive".
Fixes: test_keeper_incorrect_config/test.py::test_duplicate_endpoint
CI: https://s3.amazonaws.com/clickhouse-test-reports/32536/559b01a2e43d09571195fb1cc08d83133f559203/integration_tests__asan__actions__[1/3].html
2021-12-14 09:45:46 +03:00
taiyang-li
f1535c7226
fix conflict
2021-12-14 10:41:51 +08:00
taiyang-li
8234d1176f
merge master
2021-12-14 10:39:21 +08:00
Kseniia Sumarokova
78ed383f15
Merge pull request #31505 from ContentSquare/azure_blob_storage_dependency
...
Azure Blob Storage Disks
2021-12-13 18:28:48 +03:00
李扬
8675086104
Merge branch 'master' into hive_table
2021-12-12 09:01:46 -06:00
Jakub Kuklis
7351325f13
Simple check for files in cloud
2021-12-10 22:04:38 +01:00
Jakub Kuklis
312e5b8c45
Abstracting utility functions from main integration tests for remote disks
2021-12-10 22:04:38 +01:00
Jakub Kuklis
e58f74d8dc
Connecting to Azurite and invoking simple INSERTs works in the integration test
2021-12-10 22:04:38 +01:00
Jakub Kuklis
8afe69ff93
Comming back to StorageSharedKeyCredential for the integration test, get 400 Bad requests from Azurite when trying to create a container now
2021-12-10 22:04:38 +01:00
Jakub Kuklis
abd685e14c
Installing azure-storage-blob in the integration tests docker, raising exception when not connected to Azurite, changing ports in the Azurite docker
2021-12-10 22:04:38 +01:00
Jakub Kuklis
639d8a2b38
Running Azurite docker in the integration test for Blob Storage support
2021-12-10 22:04:37 +01:00
kssenii
f5a77fca39
Done
2021-12-09 14:44:25 +00:00
Mikhail f. Shiryaev
03927f5fc6
Revert "graphite: split tagged/plain rollup rules (for merges perfomance)"
...
This reverts commit 303552f515
.
2021-12-08 15:49:21 +01:00
msaf1980
303552f515
graphite: split tagged/plain rollup rules (for merges perfomance)
2021-12-06 16:49:08 +01:00
Anton Ivashkin
e0a16a483e
Merge master
2021-12-01 19:03:31 +03:00
Anton Ivashkin
d409ab0605
Fix wait for freeze in tests
2021-11-29 19:17:26 +03:00
lgbo
996d7125c0
Merge branch 'master' into hive_table
2021-11-23 10:19:02 +08:00
alesapin
ef6079633d
Merge pull request #31605 from vitlibar/fix-cleanup-in-integration-tests
...
Fix cleanup in integration tests
2021-11-22 17:58:47 +03:00
Vitaly Baranov
6f5f72738b
Fix cleanup in integration tests.
2021-11-22 12:05:52 +03:00
taiyang-li
e8644807fe
merge master and solve conflict
2021-11-19 15:01:58 +08:00
lgbo-ustc
858f615463
fixed bugs in integration tests about hive query
2021-11-19 09:58:34 +08:00
Anton Ivashkin
827fa511e8
Add test for freeze/unfreeze with S3 zero-copy
2021-11-18 21:14:46 +03:00
Stig Bakken
ff46e8bb51
Drop support for DatabaseOrdinary in MaterializedMySQL
...
1. Dropped support for DatabaseOrdinary for MaterializeMySQL. It
is marked as experimental, and dropping support makes the code
more maintaible, and speeds up integration tests by 50%.
2. Get rid of thread name logic for StorageMaterializeMySQL wrapping,
use setInternalQuery instead (similar to MaterializedPostgreSQL).
2021-11-18 11:46:51 +01:00
lgbo-ustc
9902ccefc5
Add integration tests for hive query
2021-11-18 16:17:49 +08:00
alexey-milovidov
0ea843949e
Merge pull request #29806 from qoega/integration--7
...
Integration test improvements
2021-11-17 10:23:53 +03:00
Yatsishin Ilya
9345b93486
fix killall. better test_different_user
2021-11-11 16:28:29 +03:00
Yatsishin Ilya
ad2376c03b
wip
2021-11-11 11:12:54 +03:00
Yatsishin Ilya
14c14dcd00
Merge remote-tracking branch 'origin' into integration--7
2021-11-11 10:41:50 +03:00
Yatsishin Ilya
b7c6a7bf8e
wip
2021-11-11 10:41:48 +03:00
kssenii
62c70ce5cf
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into retriable-http
2021-11-10 21:16:11 +00:00
Vitaly Baranov
508fb6f54f
Use external dirs in the integration test to make test not flaky.
2021-11-10 11:03:09 +03:00
Alexander Tokmakov
4f542ab019
add test
2021-11-09 23:11:02 +03:00
Yatsishin Ilya
ce205fb10a
Merge remote-tracking branch 'origin' into integration--7
2021-11-01 11:17:33 +03:00
mergify[bot]
65df198e9b
Merge branch 'master' into conf-clickhouse
2021-10-28 22:19:42 +00:00