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
Yatsishin Ilya
e4061ef6d9
Merge remote-tracking branch 'origin' into integration--7
2021-10-28 10:33:14 +03:00
Yatsishin Ilya
11b5aba6e3
increase
2021-10-28 10:27:27 +03:00
Yatsishin Ilya
c24b80b326
More changes
2021-10-26 17:17:51 +03:00
alesapin
b7ed729c81
typo
2021-10-26 11:29:22 +03:00
alesapin
c8f9bab93b
Better wait for server start in integration tests
2021-10-26 11:28:28 +03:00
Azat Khuzhin
e3b8557dd6
tests/integration/cluster: switch <yandex> to <clickhouse>
2021-10-26 09:02:27 +03:00
Azat Khuzhin
81436089dc
tests: switch <yandex> to <clickhouse>
2021-10-26 09:02:13 +03:00
Yatsishin Ilya
0967c2e309
better
2021-10-19 20:39:44 +03:00
Yatsishin Ilya
b807465dd4
Merge remote-tracking branch 'origin' into integration--7
2021-10-19 13:19:46 +03:00
Yatsishin Ilya
2fdaebc9e4
better search for fatal messages
2021-10-19 13:19:43 +03:00
alesapin
90ff7f05fd
Start keeper asynchronously if has connection to other nodes
2021-10-14 13:21:41 +03:00
Yatsishin Ilya
bf08427e58
faster force kill if docker ps is slow, print traces on timeout
2021-10-13 14:55:58 +03:00
Yatsishin Ilya
5f7c53923d
Merge remote-tracking branch 'origin' into integration--7
2021-10-12 09:35:48 +03:00
tavplubix
1aeb5d55dd
Grep server log even if it contains binary data ( #29903 )
...
* grep server log even if it contains binary data
* Update cluster.py
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-10-10 12:55:37 +03:00
Yatsishin Ilya
7b6b5de7d5
Merge remote-tracking branch 'qoega/integration--7' into integration--7
2021-10-08 13:21:17 +03:00
Yatsishin Ilya
8b1efe1aa1
improve test_match_process_uid_against_data_owner
2021-10-08 12:16:23 +03:00
alexey-milovidov
fecfb097a0
Update cluster.py
2021-10-08 00:42:12 +03:00
Alexander Tokmakov
90cc63aecd
fix tests
2021-10-07 22:05:51 +03:00
Yatsishin Ilya
b0a5a8532f
improve test_storage_kafka test
2021-10-06 16:08:25 +03:00
Alexander Tokmakov
c0ee6d46f7
resolve dependency of StorageDictionary
2021-10-06 15:39:14 +03:00
Nikolai Kochetov
754f7aafeb
Merge pull request #29608 from ClickHouse/fix-many-signals-in-integration-tests
...
Do not send many signals at server restart (integration tests).
2021-10-01 21:09:00 +03:00
Vitaly Baranov
27f6d5864d
Merge pull request #29060 from azat/inter-server-secret-auth-fix
...
Do not allow to reuse previous credentials in case of inter-server secret
2021-10-01 20:44:48 +03:00
Nikolai Kochetov
291a8332b9
Do not send many signals at server restart (integration tests).
2021-10-01 12:52:24 +03:00
Azat Khuzhin
2822f71eec
tests/integration/helpers: add query_id for query()
2021-10-01 01:13:08 +03:00
alexey-milovidov
1e6f9ac635
Merge branch 'master' into yandex-to-clickhouse-in-configs
2021-09-28 20:26:44 +03:00
Ilya Yatsishin
e66e081119
Merge pull request #28522 from qoega/improve-integration-1
...
Improve integration tests: work with iptables and services listing
2021-09-28 16:35:38 +03:00
Alexey Milovidov
c7b7c8339f
Compatibility
2021-09-28 05:00:06 +03:00
alexey-milovidov
995913e89c
Merge branch 'master' into yandex-to-clickhouse-in-configs
2021-09-28 02:27:36 +03:00
Yatsishin Ilya
650de10dea
Merge remote-tracking branch 'origin/master' into improve-integration-1
2021-09-27 09:47:49 +03:00
Alexey Milovidov
4c0feaf343
Fix compatibility
2021-09-27 02:11:10 +03:00
Nikolai Kochetov
3c9e6a04bf
A little bit better
2021-09-26 18:06:32 +03:00
Alexey Milovidov
ddd96f0106
Fix compatibility
2021-09-26 03:19:50 +03:00