Skip to content

Commit 68d3e4d

Browse files
Add --kill-after
1 parent d76d00c commit 68d3e4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/queries/0_stateless/04054_readbuffer_canceled_ast_fuzzer.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ ${CLICKHOUSE_CLIENT} -q "
3737
for _ in $(seq 1 5); do
3838
# Sleep a random amount of time between 50ms and 300ms
3939
SLEEP_TIME="0.$((RANDOM % 251 + 50))"
40-
(timeout --signal=KILL ${SLEEP_TIME} ${CLICKHOUSE_CLIENT} \
40+
(timeout --signal=KILL --kill-after=5 ${SLEEP_TIME} ${CLICKHOUSE_CLIENT} \
4141
--ast_fuzzer_runs=500 \
4242
--interactive_delay=1 \
4343
-q "SELECT t1.id, t2.id FROM ${CLICKHOUSE_DATABASE}.t1 AS t1 JOIN ${CLICKHOUSE_DATABASE}.t2 AS t2 ON t1.id = t2.id ORDER BY t1.id FORMAT Null" \

0 commit comments

Comments
 (0)