From abf412c21db0fe85eb7cc2d37e5887a8c133ac61 Mon Sep 17 00:00:00 2001 From: Konstantin Knizhnik Date: Sun, 15 Sep 2024 14:10:11 +0200 Subject: [PATCH] Make ruff happy: fix test formatting --- test_runner/regress/test_lfc_working_set_approximation.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/test_runner/regress/test_lfc_working_set_approximation.py b/test_runner/regress/test_lfc_working_set_approximation.py index 8944d1e534..738180cffc 100644 --- a/test_runner/regress/test_lfc_working_set_approximation.py +++ b/test_runner/regress/test_lfc_working_set_approximation.py @@ -137,8 +137,12 @@ def test_optimal_cache_size_approximation(neon_simple_env: NeonEnv): cur.execute( "create table t_small(pk integer primary key, count integer default 0, payload text default repeat('?', 128))" ) - cur.execute("insert into t_huge(pk) values (generate_series(1,1000000))") # table size is 21277 pages - cur.execute("insert into t_small(pk) values (generate_series(1,100000))") # table size is 2128 pages + cur.execute( + "insert into t_huge(pk) values (generate_series(1,1000000))" + ) # table size is 21277 pages + cur.execute( + "insert into t_small(pk) values (generate_series(1,100000))" + ) # table size is 2128 pages time.sleep(2) before = time.monotonic() for _ in range(100):