diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index c0fffbdf..7c791fc0 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -17,6 +17,7 @@ jobs: - "pypy-3.6" - "pypy-3.7" clickhouse-version: + - 24.1.5.6 - 23.9.3.12 - 23.2.6.34 - 22.9.5.25 diff --git a/tests/test_query_info.py b/tests/test_query_info.py index 127e6266..0b74344b 100644 --- a/tests/test_query_info.py +++ b/tests/test_query_info.py @@ -78,7 +78,7 @@ def test_last_query_after_execute_with_progress(self): self.assertEqual(last_query.elapsed, 0) def test_last_query_progress_total_rows(self): - self.client.execute('SELECT max(number) FROM numbers(10)') + self.client.execute('SELECT number FROM numbers(10) LIMIT 10') last_query = self.client.last_query self.assertIsNotNone(last_query) @@ -144,8 +144,8 @@ def test_progress_info_increment(self): last_query = self.client.last_query self.assertIsNotNone(last_query) self.assertIsNotNone(last_query.progress) - self.assertGreater(last_query.progress.rows, 100000000) - self.assertGreater(last_query.progress.bytes, 800000000) + self.assertGreaterEqual(last_query.progress.rows, 100000000) + self.assertGreaterEqual(last_query.progress.bytes, 800000000) total_rows = 100000000 if self.server_version > (19, 4) else 0 self.assertEqual(last_query.progress.total_rows, total_rows)