mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
MetricLog - add tests for event_time_microseconds field
This commit is contained in:
parent
1c1f50c6b6
commit
ec0d0243cc
@ -1,2 +1,4 @@
|
|||||||
'01473_asynchronous_metric_log_event_start_time_milliseconds_test'
|
01473_asynchronous_metric_log_event_start_time_milliseconds_test
|
||||||
ok
|
ok
|
||||||
|
01473_metric_log_event_start_time_milliseconds_test
|
||||||
|
ok
|
||||||
|
@ -3,3 +3,7 @@ set log_queries = 1;
|
|||||||
select '01473_asynchronous_metric_log_event_start_time_milliseconds_test';
|
select '01473_asynchronous_metric_log_event_start_time_milliseconds_test';
|
||||||
system flush logs;
|
system flush logs;
|
||||||
SELECT If((select count(event_time_microseconds) from system.asynchronous_metric_log) > 0, 'ok', 'fail'); -- success
|
SELECT If((select count(event_time_microseconds) from system.asynchronous_metric_log) > 0, 'ok', 'fail'); -- success
|
||||||
|
|
||||||
|
select '01473_metric_log_event_start_time_milliseconds_test';
|
||||||
|
system flush logs;
|
||||||
|
SELECT If((select count(event_time_microseconds) from system.metric_log) > 0, 'ok', 'fail'); -- success
|
||||||
|
Loading…
Reference in New Issue
Block a user