Merge pull request #50935 from azat/tests/02703_max_local_write_bandwidth

This commit is contained in:
Sergei Trifonov 2023-06-14 18:54:49 +02:00 committed by GitHub
commit 170e17c9e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ for read_method in "${read_methods[@]}"; do
query_duration_ms >= 7e3,
ProfileEvents['ReadBufferFromFileDescriptorReadBytes'] > 8e6,
ProfileEvents['LocalReadThrottlerBytes'] > 8e6,
ProfileEvents['LocalReadThrottlerSleepMicroseconds'] > 7e6*0.9
ProfileEvents['LocalReadThrottlerSleepMicroseconds'] > 7e6*0.5
FROM system.query_log
WHERE current_database = '$CLICKHOUSE_DATABASE' AND query_id = '$query_id' AND type != 'QueryStart'
"

View File

@ -19,7 +19,7 @@ $CLICKHOUSE_CLIENT -nm -q "
query_duration_ms >= 7e3,
ProfileEvents['WriteBufferFromFileDescriptorWriteBytes'] > 8e6,
ProfileEvents['LocalWriteThrottlerBytes'] > 8e6,
ProfileEvents['LocalWriteThrottlerSleepMicroseconds'] > 7e6*0.9
ProfileEvents['LocalWriteThrottlerSleepMicroseconds'] > 7e6*0.5
FROM system.query_log
WHERE current_database = '$CLICKHOUSE_DATABASE' AND query_id = '$query_id' AND type != 'QueryStart'
"