Merge pull request #22944 from ClickHouse/aku/less-flaky

less flaky test
This commit is contained in:
alexey-milovidov 2021-04-10 23:15:10 +03:00 committed by GitHub
commit 61e3cde428
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,6 +7,8 @@ WITH (
SELECT query_start_time_microseconds
FROM system.query_log
WHERE current_database = currentDatabase()
AND query like 'SELECT \'01461_query%'
AND event_date >= yesterday()
ORDER BY query_start_time DESC
LIMIT 1
) AS time_with_microseconds,
@ -14,6 +16,8 @@ WITH (
SELECT query_start_time
FROM system.query_log
WHERE current_database = currentDatabase()
AND query like 'SELECT \'01461_query%'
AND event_date >= yesterday()
ORDER BY query_start_time DESC
LIMIT 1
) AS t)
@ -27,6 +31,8 @@ WITH (
SELECT query_start_time_microseconds
FROM system.query_thread_log
WHERE current_database = currentDatabase()
AND query like 'SELECT \'01461_query%'
AND event_date >= yesterday()
ORDER BY query_start_time DESC
LIMIT 1
) AS time_with_microseconds,
@ -34,6 +40,8 @@ WITH (
SELECT query_start_time
FROM system.query_thread_log
WHERE current_database = currentDatabase()
AND query like 'SELECT \'01461_query%'
AND event_date >= yesterday()
ORDER BY query_start_time DESC
LIMIT 1
) AS t)