mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-13 02:53:38 +00:00
Revert "Revert "tests: enable back 02232_dist_insert_send_logs_level_hung""
This commit is contained in:
parent
cd9fc3b5ab
commit
ad55c2f55a
@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# Tags: disabled
|
# Tags: long, no-parallel
|
||||||
# Tag: no-parallel - to heavy
|
# Tag: no-parallel - to heavy
|
||||||
# Tag: long - to heavy
|
# Tag: long - to heavy
|
||||||
|
|
||||||
@ -33,11 +33,14 @@ $CLICKHOUSE_CLIENT "${client_opts[@]}" -nm -q "
|
|||||||
create materialized view mv_02232 to out_02232 as select * from in_02232;
|
create materialized view mv_02232 to out_02232 as select * from in_02232;
|
||||||
"
|
"
|
||||||
|
|
||||||
|
# 600 is the default timeout of clickhouse-test, and 30 is just a safe padding,
|
||||||
|
# to avoid hung query check triggering
|
||||||
|
insert_timeout=$((600-30))
|
||||||
|
# Increase timeouts to avoid timeout during trying to send Log packet to
|
||||||
|
# the remote side, when the socket is full.
|
||||||
insert_client_opts=(
|
insert_client_opts=(
|
||||||
# Increase timeouts to avoid timeout during trying to send Log packet to
|
--send_timeout "$insert_timeout"
|
||||||
# the remote side, when the socket is full.
|
--receive_timeout "$insert_timeout"
|
||||||
--send_timeout 86400
|
|
||||||
--receive_timeout 86400
|
|
||||||
)
|
)
|
||||||
# 250 seconds is enough to trigger the query hung (even in debug build)
|
# 250 seconds is enough to trigger the query hung (even in debug build)
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user