Fix clickhouse test

This commit is contained in:
alesapin 2021-12-10 13:30:12 +03:00
parent 2c7bb56a2c
commit 8f8f65e6e0

View File

@ -767,7 +767,7 @@ class TestSuite:
filter_func = lambda x: True
if args.run_by_hash_num and args.run_by_hash_total:
if args.run_by_hash_num is not None and args.run_by_hash_total is not None:
if args.run_by_hash_num > args.run_by_hash_total:
raise Exception(f"Incorrect run by hash, value {args.run_by_hash_num} bigger than total {args.run_by_hash_total}")