From e1fa39d801e21a80bcf63ddffebb1fb8b119d3c0 Mon Sep 17 00:00:00 2001 From: alesapin Date: Mon, 20 Apr 2020 18:17:34 +0300 Subject: [PATCH] fix test --- tests/integration/test_always_fetch_merged/test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/test_always_fetch_merged/test.py b/tests/integration/test_always_fetch_merged/test.py index 8301110f401..63ab6f6b5ea 100644 --- a/tests/integration/test_always_fetch_merged/test.py +++ b/tests/integration/test_always_fetch_merged/test.py @@ -59,5 +59,5 @@ def test_replica_always_download(started_cluster): node1_parts = node1.query("SELECT COUNT() FROM system.parts WHERE table = 'test_table' and active=1").strip() node2_parts = node2.query("SELECT COUNT() FROM system.parts WHERE table = 'test_table' and active=1").strip() - assert node1_parts < '10' # something merged - assert node2_parts < '10' + assert int(node1_parts) < 10 # something merged + assert int(node2_parts) < 10