Merge pull request #58656 from azat/perf/fix-duration

Fix perf tests duration (checks.test_duration_ms)
This commit is contained in:
Alexey Milovidov 2024-01-10 22:00:14 +01:00 committed by GitHub
commit 6c6337ab15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1223,7 +1223,7 @@ create table ci_checks engine File(TSVWithNamesAndTypes, 'ci-checks.tsv')
select select
test || ' #' || toString(query_index) || '::' || test_desc_.1 test_name, test || ' #' || toString(query_index) || '::' || test_desc_.1 test_name,
'slower' test_status, 'slower' test_status,
test_desc_.2 test_duration_ms, test_desc_.2*1e3 test_duration_ms,
'https://s3.amazonaws.com/clickhouse-test-reports/$PR_TO_TEST/$SHA_TO_TEST/${CLICKHOUSE_PERFORMANCE_COMPARISON_CHECK_NAME_PREFIX}/report.html#changes-in-performance.' || test || '.' || toString(query_index) report_url 'https://s3.amazonaws.com/clickhouse-test-reports/$PR_TO_TEST/$SHA_TO_TEST/${CLICKHOUSE_PERFORMANCE_COMPARISON_CHECK_NAME_PREFIX}/report.html#changes-in-performance.' || test || '.' || toString(query_index) report_url
from queries from queries
array join map('old', left, 'new', right) as test_desc_ array join map('old', left, 'new', right) as test_desc_
@ -1232,7 +1232,7 @@ create table ci_checks engine File(TSVWithNamesAndTypes, 'ci-checks.tsv')
select select
test || ' #' || toString(query_index) || '::' || test_desc_.1 test_name, test || ' #' || toString(query_index) || '::' || test_desc_.1 test_name,
'unstable' test_status, 'unstable' test_status,
test_desc_.2 test_duration_ms, test_desc_.2*1e3 test_duration_ms,
'https://s3.amazonaws.com/clickhouse-test-reports/$PR_TO_TEST/$SHA_TO_TEST/${CLICKHOUSE_PERFORMANCE_COMPARISON_CHECK_NAME_PREFIX}/report.html#unstable-queries.' || test || '.' || toString(query_index) report_url 'https://s3.amazonaws.com/clickhouse-test-reports/$PR_TO_TEST/$SHA_TO_TEST/${CLICKHOUSE_PERFORMANCE_COMPARISON_CHECK_NAME_PREFIX}/report.html#unstable-queries.' || test || '.' || toString(query_index) report_url
from queries from queries
array join map('old', left, 'new', right) as test_desc_ array join map('old', left, 'new', right) as test_desc_