MetricLog - add tests for event_time_microseconds field

This commit is contained in:
bharatnc 2020-09-05 16:21:51 -07:00
parent 1c1f50c6b6
commit ec0d0243cc
2 changed files with 8 additions and 2 deletions

View File

@ -1,2 +1,4 @@
'01473_asynchronous_metric_log_event_start_time_milliseconds_test'
ok
01473_asynchronous_metric_log_event_start_time_milliseconds_test
ok
01473_metric_log_event_start_time_milliseconds_test
ok

View File

@ -3,3 +3,7 @@ set log_queries = 1;
select '01473_asynchronous_metric_log_event_start_time_milliseconds_test';
system flush logs;
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