Browse Source

[Test] Fix CH migration tests

tags/1.9.2
Vsevolod Stakhov 5 years ago
parent
commit
4735fd1a28
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      test/functional/cases/210_clickhouse/clickhouse.py

+ 1
- 1
test/functional/cases/210_clickhouse/clickhouse.py View File

@@ -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'])



Loading…
Cancel
Save