Added test with max_execution_time.

This commit is contained in:
Nikolai Kochetov 2020-02-25 15:28:06 +03:00
parent 8d46eb6ecc
commit 15fdf80dc8
2 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,5 @@
DROP TABLE IF EXISTS tab;
create table tab (A Int64) Engine=MergeTree order by tuple();
insert into tab select cityHash64(number) from numbers(1000);
select sum(sleep(0.1)) from tab settings max_block_size = 1, max_execution_time=1; -- { serverError 159 }
DROP TABLE IF EXISTS tab;