diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-04-16 12:04:25 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-04-16 12:04:25 +0100 |
commit | 4735fd1a285a8d34327adc063ef4b272a32fa5df (patch) | |
tree | dfe39aa303570964a54bb0f178542de0ded3d397 /test/functional/cases/210_clickhouse/clickhouse.py | |
parent | e9183ec8b802675e064d3fc47b22a2a8215480b7 (diff) | |
download | rspamd-4735fd1a285a8d34327adc063ef4b272a32fa5df.tar.gz rspamd-4735fd1a285a8d34327adc063ef4b272a32fa5df.zip |
[Test] Fix CH migration tests
Diffstat (limited to 'test/functional/cases/210_clickhouse/clickhouse.py')
-rw-r--r-- | test/functional/cases/210_clickhouse/clickhouse.py | 2 |
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']) |