Skip to content

Commit eba49df

Browse files
authored
Merge pull request ClickHouse#80354 from ClickHouse/tavplubix-patch-14
Fix `03322_initial_query_start_time_check`
2 parents c9008f7 + d00fe39 commit eba49df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/queries/0_stateless/03322_initial_query_start_time_check.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
DROP TABLE IF EXISTS tmp;
44

5-
CREATE OR REPLACE VIEW tmp AS SELECT initialQueryStartTime() as it, now() AS t FROM system.one WHERE NOT ignore(sleep(0.1));
6-
SELECT now()==max(t), initialQueryStartTime()==max(it), initialQueryStartTime()==min(it), initialQueryStartTime()>=now()-1 FROM (SELECT it, t FROM remote('127.0.0.{1..20}', currentDatabase(), tmp)) SETTINGS max_distributed_connections=1, async_socket_for_remote=0;
5+
CREATE OR REPLACE VIEW tmp AS SELECT initialQueryStartTime() as it, now() AS t FROM system.one WHERE NOT ignore(sleep(0.5));
6+
SELECT now()==max(t), initialQueryStartTime()==max(it), initialQueryStartTime()==min(it), initialQueryStartTime()>=now()-1 FROM (SELECT it, t FROM remote('127.0.0.{1..10}', currentDatabase(), tmp)) SETTINGS max_distributed_connections=1, async_socket_for_remote=0;
77

88
DROP TABLE tmp;
99

0 commit comments

Comments
 (0)