Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change the LFC size to 32MB for test_read_validation #9905

Closed
wants to merge 8 commits into from
15 changes: 13 additions & 2 deletions test_runner/regress/test_read_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@

from contextlib import closing

import pytest
from fixtures.log_helper import log
from fixtures.neon_fixtures import NeonEnv
from fixtures.utils import query_scalar
from fixtures.utils import USE_LFC, query_scalar
from psycopg2.errors import IoError, UndefinedTable

pytest_plugins = "fixtures.neon_fixtures"
Expand All @@ -15,10 +16,20 @@
#
# Validation of reading different page versions
#
# TODO: remove the next line before merge
@pytest.mark.repeat(100)
def test_read_validation(neon_simple_env: NeonEnv):
env = neon_simple_env

endpoint = env.endpoints.create_start("main")
endpoint = env.endpoints.create_start(
"main",
config_lines=[
"neon.max_file_cache_size = 1MB",
"neon.file_cache_size_limit = 1MB",
]
if USE_LFC
else [],
)
with closing(endpoint.connect()) as con:
with con.cursor() as c:
for e in extensions:
Expand Down
Loading