robot-clickhouse
7c6ce8611c
Automatic style fix
2024-09-27 10:19:49 +00:00
Nikita Fomichev
bd6c7a504d
Integration tests: fix flaky test_dictionaries_update_and_reload::test_reload_after_fail_by_timer
2024-08-05 11:45:49 +02:00
Nikita Fomichev
29f1d9df36
Integration tests: fix flaky test_dictionaries_update_and_reload::test_reload_after_fail_by_timer
2024-08-05 10:03:49 +02:00
Nikita Fomichev
31cd44457f
integration tests: fix flaky tests
2024-03-26 17:55:37 +01:00
vdimir
6795d0207f
Update test_reload_after_fail_in_cache_dictionary for analyzer
2024-01-26 16:37:54 +00:00
Azat Khuzhin
ce9fd2c57a
Fix test_dictionaries_update_and_reload/test.py::test_reload_while_loading flakiness
...
On CI this test fails due to start_time == prev_start_time:
start_time, duration = get_loading_start_time("slow"), get_loading_duration("slow")
> assert start_time > prev_start_time
E assert time.struct_time(tm_year=2023, tm_mon=12, tm_mday=9, tm_hour=23, tm_min=42, tm_sec=2, tm_wday=5, tm_yday=343, tm_isdst=-1) > time.struct_time(tm_year=2023, tm_mon=12, tm_mday=9, tm_hour=23, tm_min=42, tm_sec=2, tm_wday=5, tm_yday=343, tm_isdst=-1)
The reason I guess is that there is sleep(0.5), while the
loading_start_time is DateTime not DateTime64, so you cannot distinguish
values if the difference is less then one second
CI: https://s3.amazonaws.com/clickhouse-test-reports/57710/7af1c0885daaf1e41470c5fdd92abfc7b6b2befc/integration_tests__asan__[3_4].html
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-12-10 08:36:10 +01: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 Milovidov
b42d26acfe
Remove one line from XML, because we do not care
2022-08-28 02:44:02 +02:00
Robert Schulze
a2214760c6
Remove mark_cache_size from further files
...
- changed config.xml/yaml files used by CH's own internal tests which
are (hopefully) not sensitive to mark_cache_size being set or not
- further occurrences exist but changing them seems a bad idea (e.g.
because they are in customer-provided data)
2022-05-18 22:09:14 +02:00
Mikhail f. Shiryaev
e6f5a3f98b
Apply black formatter to all *.py files in the repo
2022-03-22 17:39:58 +01:00
Anton Ivashkin
d409ab0605
Fix wait for freeze in tests
2021-11-29 19:17:26 +03:00
Alexey Milovidov
e513a5db32
Change <yandex> to <clickhouse> in configs
2021-09-20 01:38:53 +03:00
Yatsishin Ilya
f4d587a17a
hardening
2021-06-16 15:31:19 +03:00
Yatsishin Ilya
035df8ba28
fixed
2021-06-09 18:49:18 +03:00
Yatsishin Ilya
e18343ce17
Merge remote-tracking branch 'origin' into remove-enable-dictionaries
2021-06-04 11:43:41 +03:00
Yatsishin Ilya
ddddb761db
more
2021-06-02 18:08:16 +03:00
Yatsishin Ilya
cb2277381f
try remove
2021-05-28 18:45:56 +03:00
Nikolai Kochetov
14756e5707
Update dict lifetime
2021-05-27 13:51:53 +03:00
Nikolai Kochetov
0ca38335a7
Update dict lifetime
2021-05-27 12:09:56 +03:00
Nikolai Kochetov
02ed069e81
Fix flaky test
2021-05-27 11:49:42 +03:00
alesapin
0fae73071c
Fix flaky test
2021-03-26 18:14:42 +03:00
nikitamikhaylov
70a08608f8
add reload dictionary
2020-11-17 20:58:31 +03:00
nikitamikhaylov
663730c758
try to fix flaky test
2020-11-17 20:33:07 +03:00
nikitamikhaylov
9c6b896928
style + flaky test fix
2020-11-17 17:36:04 +03:00
nikitamikhaylov
fbd0d14dd6
save
2020-11-17 16:59:12 +03:00
nikitamikhaylov
9b46b53fa3
better defaults
2020-11-17 16:59:12 +03:00
nikitamikhaylov
028fc00166
fix tests
2020-11-17 16:59:12 +03:00
Alexey Milovidov
78c42d5dcd
Remove executable bit from non-executable files
2020-10-11 19:21:29 +03:00
bharatnc
b75963d370
Format and optimize imports in integration test files
...
This PR formats all the `*.py` files found under the `tests/integration`
folder. It also reorders the imports and cleans up a bunch of unused
imports.
The formatting also takes care of other things like wrapping lines and
fixing spaces and indents such that the tests look more readable.
2020-09-15 23:10:54 -07:00
Yatsishin Ilya
160776f183
Add explicit main_configs, user_configs and dictionaries in integration tests.
2020-08-12 11:55:04 +03:00
Alexey Milovidov
126a94ab69
Update integration tests
2020-07-16 04:48:50 +03:00
Ivan
97f2a2213e
Move all folders inside /dbms one level up ( #9974 )
...
* Move some code outside dbms/src folder
* Fix paths
2020-04-02 02:51:21 +03:00