From: Vsevolod Stakhov Date: Tue, 12 Feb 2019 17:34:04 +0000 (+0000) Subject: [Test] Another try to fix migration test X-Git-Tag: 1.9.0~163 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ada2d7cf496f14b863c7fb43ffed1c5c099a04d;p=thirdparty%2Frspamd.git [Test] Another try to fix migration test --- diff --git a/test/functional/cases/210_clickhouse/clickhouse.py b/test/functional/cases/210_clickhouse/clickhouse.py index f5e4646cd4..c2d0b5fa53 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):