Commit Graph

127 Commits

Author SHA1 Message Date
Vitaly Baranov
b16a18ed66 Add test for mixed version on hosts doing backup or restore. 2024-10-31 17:39:29 +01:00
Vitaly Baranov
7c3ba9324a Correct test "test_stop_other_host_during_backup[False]" and remove test "test_stop_other_host_during_backup[True]"
because it was replaced by new test "test_long_disconnection_stops_backup".
2024-10-30 22:18:35 +01:00
Vitaly Baranov
f6b5d27c58 Rework coordination of hosts during BACKUP ON CLUSTER / RESTORE ON CLUSTER.
Fix concurrency check, implement cancelling of distributed backups/restores.
2024-10-30 22:18:35 +01:00
robot-clickhouse
7c6ce8611c Automatic style fix 2024-09-27 10:19:49 +00:00
Arthur Passos
64d50d6e5b Merge branch 'master' into multi_auth_methods 2024-08-12 15:42:37 -03:00
Vitaly Baranov
debcc2e610 Fix test test_mutation 2024-07-31 12:31:52 +02:00
Arthur Passos
fa6564dbe3 Merge branch 'master' into multi_auth_methods 2024-07-30 10:32:13 -03:00
Vitaly Baranov
634c513ba7 Fix cleanup in test_backup_restore_on_cluster/test.py::test_system_functions 2024-07-29 13:19:24 +02:00
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
Nikita Fomichev
9aaf806021 Integration tests: fix flaky tests 2 2024-07-24 14:03:40 +02:00
Nikita Fomichev
2ea10d9994 Integration tests: fix flaky tests 2024-07-24 13:13:58 +02:00
Arthur Passos
ec0d426a6f try to fix black 2024-06-27 08:52:20 -03:00
Arthur Passos
678700f137 update some other tests 2024-06-26 22:26:46 -03:00
Azat Khuzhin
69d23f5e67 Fix all problems in tests that had been found by flake8
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-06-05 14:46:38 +02:00
Vitaly Baranov
7a1e6b7c33
Merge pull request #57684 from vitlibar/fix-backup-for-multiple-shards
Fix making backup when multiple shards are used
2024-05-07 21:38:04 +00:00
Vitaly Baranov
faae8a4f2b Add tests for backup on cluster with 2 shards and 2 replicas. 2024-04-26 10:10:45 +02:00
Nikita Mikhaylov
a8683a8bd5 Remove the setting from tests 2024-04-25 22:13:14 +02:00
Vitaly Baranov
e42967c724 Add test. 2024-04-20 16:48:26 +01:00
Vitaly Baranov
3012e4bc27
Merge pull request #62207 from vitlibar/fix-restoring-parts-while-readonly
Fix restoring parts while readonly
2024-04-05 13:57:27 +02:00
Vitaly Baranov
43687e5732
Update tests/integration/test_backup_restore_on_cluster/test_slow_rmt.py
Co-authored-by: pufit <pufit@yandex.ru>
2024-04-04 22:10:16 +02:00
Vitaly Baranov
43d8988744
Update tests/integration/test_backup_restore_on_cluster/test_slow_rmt.py
Co-authored-by: pufit <pufit@yandex.ru>
2024-04-04 22:10:06 +02:00
Vitaly Baranov
44fa62c0a4 Add test. 2024-04-02 23:44:49 +02:00
Nikita Fomichev
33e3d831f8 integration tests: add test test_replicated_database_compare_parts 2024-03-26 17:55:37 +01:00
Nikita Fomichev
31cd44457f integration tests: fix flaky tests 2024-03-26 17:55:37 +01:00
Nikita Fomichev
f7b100a885 Integration tests: fix flaky tests 2024-03-23 20:01:26 +01:00
Vitaly Baranov
79c068571d Fix test test_stop_other_host_during_backup. 2024-01-31 12:58:22 +01:00
Vitaly Baranov
4aba3ec685 Add some comments. 2023-12-11 00:56:40 +01:00
Vitaly Baranov
e2a7f4004f Fix test test_create_or_drop_tables_during_backup. 2023-12-11 00:56:28 +01:00
Alexey Milovidov
644ef7b63f
Revert "Fix RWLock inconsistency after write lock timeout" 2023-12-10 23:51:59 +03:00
Vitaly Baranov
b4cac92e28 Add some comments. 2023-12-07 22:18:49 +01:00
Vitaly Baranov
366095affc Fix test test_create_or_drop_tables_during_backup. 2023-12-04 00:15:31 +01:00
Vitaly Baranov
897cd06bcf Fix dropping tables in test "test_create_or_drop_tables_during_backup". 2023-11-20 19:31:53 +01:00
Azat Khuzhin
56dca144cc Fix test_backup_restore_on_cluster/test.py::test_stop_other_host_during_backup flakiness
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-09-20 07:09:51 +02:00
Vitaly Baranov
7b9d6c4b96 Add test. 2023-08-23 23:33:51 +02: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
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
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
robot-clickhouse
7d8dc92ed0 Automatic style fix 2023-07-27 21:07:54 +00:00
Smita Kulkarni
380da31512 Improvements to backup restore disallow_concurrency test 2023-07-27 19:03:44 +02:00
Smita Kulkarni
0e46cf86b7 Added try-except to check cases when second backup/restore is picked up first 2023-07-24 08:52:19 +02:00
Michael Kolupaev
97e54d6eba Fix test_backup_restore_on_cluster flakiness caused by missing replica syncs 2023-07-20 15:57:29 +00:00
Vitaly Baranov
1ec5304957
Fix multiple writing of same file to backup (#51299)
* Fix writing the same file multiple times to backup.

* Add test.

---------

Co-authored-by: Nikita Mikhaylov <mikhaylovnikitka@gmail.com>
2023-06-23 12:11:18 +02:00
Smita Kulkarni
b0c408faa4 Merge branch 'master' into Follow_up_Backup_Restore_concurrency_check_node_2 2023-05-05 17:51:33 +02:00
Alexander Tokmakov
83b12ec5ca replace NO DELAY with SYNC in tests 2023-05-03 20:08:49 +02:00
Smita Kulkarni
74c6ca558b Removed line from test_disallow_concurrrency for CI checks 2023-04-14 18:03:46 +02:00
Alexander Tokmakov
75f18b1198
Revert "Check simple dictionary key is native unsigned integer" 2023-04-13 01:32:19 +03:00
lzydmxy
b88fef12de update Failed tests 2023-04-07 23:57:08 +08:00