commit 5ada2d7: [Test] Another try to fix migration test

Vsevolod Stakhov vsevolod at highsecure.ru
Tue Feb 12 17:35:03 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-02-12 17:34:04 +0000
URL: https://github.com/rspamd/rspamd/commit/5ada2d7cf496f14b863c7fb43ffed1c5c099a04d (HEAD -> master)

[Test] Another try to fix migration test

---
 test/functional/cases/210_clickhouse/clickhouse.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/functional/cases/210_clickhouse/clickhouse.py b/test/functional/cases/210_clickhouse/clickhouse.py
index f5e4646cd..c2d0b5fa5 100644
--- a/test/functional/cases/210_clickhouse/clickhouse.py
+++ b/test/functional/cases/210_clickhouse/clickhouse.py
@@ -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):


More information about the Commits mailing list