mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-11 17:02:25 +00:00
Update clickhouse-test
This commit is contained in:
parent
82583b9349
commit
80503b2983
@ -535,7 +535,9 @@ class TestCase:
|
||||
|
||||
server_version = str(clickhouse_execute(args, "SELECT version()").decode())
|
||||
# If server version is less or equal from the version specified in tag, we should skip this test.
|
||||
if list(map(int, server_version.split('.'))) <= list(map(int, version_from_tag.split('.'))):
|
||||
version_from_tag_split = list(map(int, version_from_tag.split('.')))
|
||||
server_version_split = list(map(int, server_version.split('.')))
|
||||
if server_version_split[:len(version_from_tag_split)] <= version_from_tag_split:
|
||||
return True
|
||||
|
||||
return False
|
||||
|
Loading…
Reference in New Issue
Block a user