From 0f445827f5c070f8adedcd5f9d56c92d0355eda2 Mon Sep 17 00:00:00 2001 From: Alexander Bayandin Date: Sat, 10 Dec 2022 23:35:05 +0000 Subject: [PATCH] test_seqscans: increase table size for remote test (#3057) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Increase table size four times to fix the following error: ``` ______________________ test_seqscans[remote-100000-100-0] ______________________ test_runner/performance/test_seqscans.py:57: in test_seqscans assert int(shared_buffers) < int(table_size) E assert 536870912 < 181239808 E + where 536870912 = int(536870912) E + and 181239808 = int(181239808) ``` 536870912 / 181239808 ≈ 2.96 --- test_runner/performance/test_seqscans.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test_runner/performance/test_seqscans.py b/test_runner/performance/test_seqscans.py index a0a1dbd01d..a61d64553d 100644 --- a/test_runner/performance/test_seqscans.py +++ b/test_runner/performance/test_seqscans.py @@ -24,12 +24,12 @@ from pytest_lazyfixture import lazy_fixture # type: ignore @pytest.mark.parametrize( "env, scale", [ - # Run on all envs. Use 50x larger table on remote cluster to make sure + # Run on all envs. Use 200x larger table on remote cluster to make sure # it doesn't fit in shared buffers, which are larger on remote than local. pytest.param(lazy_fixture("neon_compare"), 1, id="neon"), pytest.param(lazy_fixture("vanilla_compare"), 1, id="vanilla"), pytest.param( - lazy_fixture("remote_compare"), 50, id="remote", marks=pytest.mark.remote_cluster + lazy_fixture("remote_compare"), 200, id="remote", marks=pytest.mark.remote_cluster ), ], )