From 4735fd1a285a8d34327adc063ef4b272a32fa5df Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 16 Apr 2019 12:04:25 +0100 Subject: [PATCH] [Test] Fix CH migration tests --- test/functional/cases/210_clickhouse/clickhouse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']) -- 2.39.5