]> source.dussan.org Git - rspamd.git/commitdiff
[Test] Another try to fix migration test
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 12 Feb 2019 17:34:04 +0000 (17:34 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 12 Feb 2019 17:34:04 +0000 (17:34 +0000)
test/functional/cases/210_clickhouse/clickhouse.py

index f5e4646cd4304b09222af872d1277bc97ef1599b..c2d0b5fa53f919d71c99553cb7717de79449fa55 100644 (file)
@@ -66,8 +66,8 @@ 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'] != 2:
-        raise Exception("Failed asseting that schema version is '%d'" % version)
+    if r[0]['version'] != 3:
+        raise Exception("Failed asseting that schema version is '%d'" % r[0]['version'])
 
 
 def assert_rows_count(table_name, number):