mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
stress: ignore server memory limits for hung check
In [1] hung check failed because the server was under memory pressure. [1]: https://s3.amazonaws.com/clickhouse-test-reports/32019/b6290ae00223fc91d514b82de25e195ab34f8bca/stress_test__undefined__actions_.html
This commit is contained in:
parent
8b1bced6ca
commit
445b0983ea
@ -188,7 +188,13 @@ if __name__ == "__main__":
|
||||
if args.hung_check:
|
||||
have_long_running_queries = prepare_for_hung_check(args.drop_databases)
|
||||
logging.info("Checking if some queries hung")
|
||||
cmd = "{} {} {}".format(args.test_cmd, "--hung-check", "00001_select_1")
|
||||
cmd = ' '.join([args.test_cmd,
|
||||
# Do not track memory allocations up to 100MiB,
|
||||
# this will allow to ignore server memory limit (max_server_memory_usage) for this query.
|
||||
"--client-option", "max_untracked_memory=100Mi",
|
||||
"--hung-check",
|
||||
"00001_select_1"
|
||||
])
|
||||
res = call(cmd, shell=True, stderr=STDOUT)
|
||||
hung_check_status = "No queries hung\tOK\n"
|
||||
if res != 0 and have_long_running_queries:
|
||||
|
Loading…
Reference in New Issue
Block a user