aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/cases/210_clickhouse/clickhouse.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/cases/210_clickhouse/clickhouse.py')
-rw-r--r--test/functional/cases/210_clickhouse/clickhouse.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/cases/210_clickhouse/clickhouse.py b/test/functional/cases/210_clickhouse/clickhouse.py
index c2d0b5fa5..e30e78320 100644
--- a/test/functional/cases/210_clickhouse/clickhouse.py
+++ b/test/functional/cases/210_clickhouse/clickhouse.py
@@ -66,7 +66,7 @@ def schema_version_should_be(version):
sql = "select max(Version) as version from rspamd_version"
r = client().query(sql)
logger.info("response: %s" % str(r))
- if r[0]['version'] != 3:
+ if r[0]['version'] != int(version):
raise Exception("Failed asseting that schema version is '%d'" % r[0]['version'])