mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 10:02:01 +00:00
Merge pull request #51120 from azat/tests/throttle
Fix 02703_max_local_write_bandwidth flakiness
This commit is contained in:
commit
b11e148fa8
@ -1 +1 @@
|
||||
1 1 1 1
|
||||
1 1 1
|
||||
|
@ -18,8 +18,8 @@ $CLICKHOUSE_CLIENT -nm -q "
|
||||
SELECT
|
||||
query_duration_ms >= 7e3,
|
||||
ProfileEvents['WriteBufferFromFileDescriptorWriteBytes'] > 8e6,
|
||||
ProfileEvents['LocalWriteThrottlerBytes'] > 8e6,
|
||||
ProfileEvents['LocalWriteThrottlerSleepMicroseconds'] > 7e6*0.5
|
||||
ProfileEvents['LocalWriteThrottlerBytes'] > 8e6
|
||||
/* LocalWriteThrottlerSleepMicroseconds is too unreliable in debug build, but query_duration_ms is enough */
|
||||
FROM system.query_log
|
||||
WHERE current_database = '$CLICKHOUSE_DATABASE' AND query_id = '$query_id' AND type != 'QueryStart'
|
||||
"
|
||||
|
Loading…
Reference in New Issue
Block a user