ClickHouse/tests
Azat Khuzhin 1831aa45d9 Fix flaky 01926_order_by_desc_limit
CI captures [1] too long logs flush:

    $ clickhouse-local --file query_log.tsv.gz --input-format TabSeparatedWithNamesAndTypes -q "select event_time, query from table where Settings['log_comment'] = '01926_order_by_desc_limit.sql' and type = 'QueryFinish' and (lower(query) LIKE lower('SELECT s FROM order_by_desc ORDER BY u%') or query like '%query_log%') format Vertical"
    Row 1:
    ──────
    event_time: 2022-11-20 12:46:42
    query:      SELECT s FROM order_by_desc ORDER BY u DESC LIMIT 10 FORMAT Null
    SETTINGS max_memory_usage = '400M';

    Row 2:
    ──────
    event_time: 2022-11-20 12:46:47
    query:      SELECT s FROM order_by_desc ORDER BY u LIMIT 10 FORMAT Null
    SETTINGS max_memory_usage = '400M';

    Row 3:
    ──────
    event_time: 2022-11-20 12:46:54
    query:      SELECT read_rows < 110000 FROM system.query_log
    WHERE type = 'QueryFinish' AND current_database = currentDatabase()
    AND event_time > now() - INTERVAL 10 SECOND
    AND lower(query) LIKE lower('SELECT s FROM order_by_desc ORDER BY u%');

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/43143/c393af2812cb56a60a99d48c15c0443d2da98a8b/stateless_tests__tsan__[2/5].html

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-11-20 21:03:22 +01:00
..
ci Merge pull request #43019 from ClickHouse/release-only-on-marked-commits 2022-11-17 20:51:57 +01:00
config Enable keeper fault injection and retries for insert queries in 2022-11-11 18:07:15 +00:00
fuzz Added function to fuzzer 2022-11-03 09:04:22 +01:00
instructions
integration Merge pull request #42800 from azat/disks/web-fix 2022-11-20 16:07:45 +01:00
jepsen.clickhouse Increase test count 2022-11-07 10:39:16 +00:00
perf_drafts Replace yandex to clickhouse in configs 2021-09-25 07:08:34 +03:00
performance Optimize merge of uniqExact without_key (#43072) 2022-11-17 13:19:02 +01:00
queries Fix flaky 01926_order_by_desc_limit 2022-11-20 21:03:22 +01:00
.gitignore Support jijna templates for sql files in clickhouse-test 2021-07-20 16:40:04 +03:00
.rgignore Add .rgignore for test data 2022-10-25 05:20:16 +02:00
clickhouse-test Revert "Randomize keeper fault injection settings in stress tests" 2022-11-14 14:09:47 +01:00
CMakeLists.txt Disable clickhouse-tests by default 2022-03-22 11:10:00 +01:00
msan_suppressions.txt Merge branch 'master' into remove-msan-suppressions-5 2021-04-13 00:15:05 +03:00
tsan_suppressions.txt Merge branch 'master' into update_cassandra 2021-01-20 14:15:53 +03:00
ubsan_suppressions.txt Add ubsan suppression for protobuf (#31835) 2021-11-26 11:36:36 +03:00