Merge pull request #52374 from ClickHouse/tavplubix-patch-8

Update ci-slack-bot.py
This commit is contained in:
Alexander Tokmakov 2023-07-20 18:08:56 +03:00 committed by GitHub
commit dd99bb465c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -245,7 +245,7 @@ def get_too_many_failures_message(failures_count):
def get_failed_checks_percentage_message(percentage):
p = percentage[0][0] * 100
p = float(percentage[0][0]) * 100
# Always report more than 1% of failed checks
# For <= 1%: higher percentage of failures == higher probability