Alexander Sapin
01e50f3ca1
Fix integration tests for arm64 on linux
2024-05-14 18:53:59 +02:00
Azat Khuzhin
98df6b88a0
tests: forbid allow_experimental_analyzer if tag was specified
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-04-27 15:49:09 +02:00
Azat Khuzhin
52091916dc
Fix leftovers of enabling new analyzer
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-04-27 11:19:03 +02:00
Azat Khuzhin
03d52e7e49
Better handling of old analyzer check in intergraion tests runner
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-04-27 10:32:27 +02:00
Azat Khuzhin
85ea46de77
Fix integration tests with old analyzer
...
This reverts commit 67d39a22ac
.
2024-04-27 10:29:13 +02:00
Nikita Fomichev
a63f4783bf
Merge pull request #61869 from fm4v/fix-flaky-tests2
...
Fix flaky tests 2 (stateless, integration)
2024-03-28 10:57:19 +01:00
Nikita Fomichev
012431c043
integration tests: ClickHouseCluster.get_docker_handle()
wait docker frequently and less time
2024-03-26 17:55:37 +01:00
Dmitry Novik
64301191b1
Merge remote-tracking branch 'origin/master' into enable-analyzer
2024-03-24 21:07:26 +00:00
Dmitry Novik
67d39a22ac
Fix cluster.py
2024-03-24 21:06:13 +00:00
Nikita Fomichev
789772caa1
Integration tests: rich exception message raised from ClickHouseInstance.query_with_retry()
2024-03-23 19:44:38 +01:00
Nikita Fomichev
39732174e9
Integration tests: set host user for mysql docker containers
...
When run pytest locally, tests fail because of `Permission denied: 'logs'`
2024-03-23 16:58:58 +01:00
Dmitry Novik
df88eb26a5
Merge branch 'master' into enable-analyzer
2024-03-22 15:56:32 +01:00
Dmitry Novik
d43a1a1984
Merge remote-tracking branch 'origin/master' into enable-analyzer
2024-03-22 14:15:57 +01:00
Max Kainov
4f273c60c3
CI: disable some kerberos and hdfs integration tests for arm
...
#ci_set_arm
#batch_2
#no_merge_commit
2024-03-20 17:24:55 +00:00
Max Kainov
da28eaf454
CI: remove compose files from integration test docker
...
#ci_set_integration
2024-03-20 14:11:47 +00:00
Dmitry Novik
b74a0359e5
Update integration tests
2024-03-20 13:43:18 +01:00
Dmitry Novik
f0e7b78f8b
Inverse analyzer in tests
2024-03-20 13:35:30 +01:00
Han Fei
c7c64636d0
add a test
2024-03-12 23:31:33 +01:00
Azat Khuzhin
7dfe45e8d5
Do not retry queries if container is down in integration tests (resubmit)
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-03-03 20:38:34 +01:00
Raúl Marín
98e68ccfb8
Remove old tags from integration tests
2024-02-26 13:45:20 +01:00
Nikolai Kochetov
83841c23d3
Merge pull request #60230 from ClickHouse/fix-analyzer-secrets
...
Fix analyzer - hide arguments for secret functions
2024-02-23 15:26:49 +01:00
robot-clickhouse
7e94a163bc
Automatic style fix
2024-02-21 16:16:34 +00:00
Yakov Olkhovskiy
9c4967e788
prevent test from unrelated fails
2024-02-21 16:03:57 +00:00
Max Kainov
9f51e840db
CI: integration tests to mysql80
...
#ci_set_integration
#no_merge_commit
2024-02-21 11:05:47 +00:00
Antonio Andelic
199da94176
Revert "Do not retry queries if container is down in integration tests"
2024-02-21 11:13:41 +01:00
Azat Khuzhin
0496d0f45f
Do not retry queries if container is down in integration tests
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-02-19 11:27:41 +01:00
robot-clickhouse
41e6dd7a9d
Automatic style fix
2024-01-24 12:15:19 +00:00
serxa
0badcffdc1
test: table metadata load failure should shutdowns the server properly
2024-01-24 12:01:32 +00:00
Han Fei
fc0f080cb4
fix black
2023-12-01 20:39:38 +01:00
Han Fei
e4da317f05
fix test
2023-12-01 18:07:45 +01:00
vdimir
3b4f70a811
Minor changes in test_check_table
2023-11-23 16:24:11 +00:00
Igor Nikonov
4d16c096a1
Use ports from cluster
2023-11-16 13:03:20 +00:00
Julian Maicher
c3dc106980
Reformat with black
2023-11-10 04:28:21 +01:00
Julian Maicher
4e1965167e
Fix flaky LDAP integration tests
...
Use LDAP hostname with regular DNS lookup to check if LDAP is online.
Before that, we used the IP address that was extracted via the docker
client (not via DNS lookup) and it could happen that LDAP was reachable
via the IP, thus passing the online check, but not via DNS lookup, which
led to test failures (e.g. LDAP not reachable from ClickHouse instance).
2023-11-09 21:24:52 +01:00
Azat Khuzhin
b87ebb2a83
Fix test_format_schema_on_server flakiness
...
Sometimes the requests library detect the encoding incorrectly, and
because this test compares binary data it fails.
Here is an example of successfull attempt:
2023-10-30 07:32:37 [ 654 ] DEBUG : http://172.16.1.2:8123 "GET /?query=SELECT+%2A+FROM+test.simple+FORMAT+Protobuf+SETTINGS+format_schema%3D%27simple%3AKeyValuePair%27 HTTP/1.1" 200 None (connectionpool.py:546, _make_request)
2023-10-30 07:32:37 [ 654 ] DEBUG : Encoding detection: utf_8 will be used as a fallback match (api.py:480, from_bytes)
2023-10-30 07:32:37 [ 654 ] DEBUG : Encoding detection: Found utf_8 as plausible (best-candidate) for content. With 0 alternatives. (api.py:487, from_bytes)
And here is failed [1]:
2023-10-29 18:12:56 [ 525 ] DEBUG : http://172.16.9.2:8123 "GET /?query=SELECT+%2A+FROM+test.simple+FORMAT+Protobuf+SETTINGS+format_schema%3D%27message_tmp%3AMessageTmp%27 HTTP/1.1" 200 None (connectionpool.py:547, _make_request)
2023-10-29 18:12:56 [ 525 ] DEBUG : Encoding detection: Found utf_16_be as plausible (best-candidate) for content. With 1 alternatives. (api.py:487, from_bytes)
E AssertionError: assert '܈Ē͡扣܈Ȓͤ敦' == '\x07\x08\x01\x12\x03abc\x07\x08\x02\x12\x03def'
E - abcdef
E + ܈Ē͡扣܈Ȓͤ敦
[1]: https://s3.amazonaws.com/clickhouse-test-reports/56030/c7f392500e93863638c9ca9bd56c93b3193091f3/integration_tests__release__[3_4].html
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-10-30 08:45:47 +01:00
robot-clickhouse
35d8fa212d
Automatic style fix
2023-10-23 12:28:02 +00:00
Smita Kulkarni
ad09c4a37a
Updated to use f-strings
2023-10-23 14:13:14 +02:00
robot-clickhouse
a2d4372ee8
Automatic style fix
2023-10-18 20:39:41 +00:00
Smita Kulkarni
9d6cd0e9a2
Upadted to get free port for azurite
2023-10-18 22:20:39 +02:00
kssenii
34d804686a
Fix black check
2023-10-16 13:03:12 +02:00
Kseniia Sumarokova
2015a0fc17
Merge branch 'master' into fix-iceberg-metadata-parsing
2023-10-15 18:03:53 +02:00
kssenii
f3056b1643
Add a test
2023-10-15 18:02:34 +02:00
Alexey Milovidov
68ce6b9b00
Merge pull request #55424 from ClickHouse/update-rabbitq
...
Updated RabbitMQ image and fixed log retrieval in failed tests.
2023-10-10 03:32:21 +02:00
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