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

fix test: test_replication_all increase key num #4747

Merged
merged 1 commit into from
Mar 12, 2025
Merged

fix test: test_replication_all increase key num #4747

merged 1 commit into from
Mar 12, 2025

Conversation

adiholden
Copy link
Collaborator

fix #4534
The problem:
the test failed on check
assert compressed_blobs > 0
Because the number of keys is not very big and having lots of big values that disable compression on specific bucket, the chances that no bucket will be compressed increase
The fix:
increase number of keys in test

Signed-off-by: adi_holden <adi@dragonflydb.io>
@adiholden adiholden requested a review from kostasrim March 11, 2025 13:18
Copy link
Contributor

@kostasrim kostasrim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢 🇮🇹 👩‍🍳

@@ -50,7 +50,7 @@ async def wait_for_replicas_state(*clients, state="online", node_role="slave", t
# Quick general test that replication is working
(1, 3 * [1], dict(key_target=1_000), 500),
# A lot of huge values
(2, 2 * [1], dict(key_target=1_000, huge_value_target=30), 500),
(2, 2 * [1], dict(key_target=5_000, huge_value_target=30), 500),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💃

@adiholden adiholden merged commit 93ac813 into main Mar 12, 2025
10 checks passed
@adiholden adiholden deleted the fix_4534 branch March 12, 2025 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

test_replication_all
2 participants