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

tests: increase approx size equal threshold to avoid test_lsn_lease_size flakiness #8282

Merged
merged 5 commits into from
Jul 8, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions test_runner/regress/test_tenant_size.py
Original file line number Diff line number Diff line change
Expand Up @@ -486,9 +486,9 @@ def assert_size_approx_equal(size_a, size_b):
"""

# Determined empirically from examples of equality failures: they differ
# by page multiples of 8272, and usually by 1-3 pages. Tolerate 4 to avoid
# by page multiples of 8272, and usually by 1-4 pages. Tolerate 5 to avoid
# failing on outliers from that observed range.
threshold = 4 * 8272
threshold = 5 * 8272
yliang412 marked this conversation as resolved.
Show resolved Hide resolved

assert size_a == pytest.approx(size_b, abs=threshold)

Expand Down
Loading