old flaky test

This commit is contained in:
Alexander Kuzmenkov 2021-01-18 20:15:58 +03:00
parent f3e112766f
commit c1b35da714

View File

@ -4,9 +4,17 @@ set log_queries_min_type='QUERY_FINISH';
set enable_global_with_statement=1; set enable_global_with_statement=1;
select /* test=01531, enable_global_with_statement=0 */ 2; select /* test=01531, enable_global_with_statement=0 */ 2;
system flush logs; system flush logs;
select count() from system.query_log where event_time >= now() - interval 5 minute and query like '%select /* test=01531, enable_global_with_statement=0 */ 2%'; select count() from system.query_log
where event_time >= now() - interval 5 minute
and query like '%select /* test=01531, enable_global_with_statement=0 */ 2%'
and current_database = currentDatabase()
;
set enable_global_with_statement=1; set enable_global_with_statement=1;
select /* test=01531 enable_global_with_statement=1 */ 2; select /* test=01531 enable_global_with_statement=1 */ 2;
system flush logs; system flush logs;
select count() from system.query_log where event_time >= now() - interval 5 minute and query like '%select /* test=01531 enable_global_with_statement=1 */ 2%'; select count() from system.query_log
where event_time >= now() - interval 5 minute
and query like '%select /* test=01531 enable_global_with_statement=1 */ 2%'
and current_database = currentDatabase()
;