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: Fix test_flushall_in_full_sync #3929

Merged
merged 2 commits into from
Oct 15, 2024
Merged

Conversation

chakaz
Copy link
Collaborator

@chakaz chakaz commented Oct 15, 2024

This test failed in CI many times. The issue was that we reach stable sync too quickly, and miss the full sync stage.

I changed the seeder to add 100k (instead of 30k) keys for the stage to take longer.

This test failed in CI many times. The issue was that we reach stable
sync too quickly, and miss the full sync stage.

I changed the seeder to add 100k (instead of 30k) keys for the stage to
take longer.
@chakaz chakaz requested a review from kostasrim October 15, 2024 10:43
kostasrim
kostasrim previously approved these changes Oct 15, 2024
@kostasrim
Copy link
Contributor

@chakaz did you reproduce locally?

@chakaz
Copy link
Collaborator Author

chakaz commented Oct 15, 2024

@chakaz did you reproduce locally?

yes, in release builds it fails locally for me >90% of times, with the fix it passed 1,000 times without failing

@chakaz chakaz enabled auto-merge (squash) October 15, 2024 11:05
@@ -1107,7 +1107,7 @@ async def test_flushall_in_full_sync(df_factory):
c_replica = replica.client()

# Fill master with test data
seeder = SeederV2(key_target=30_000)
seeder = SeederV2(key_target=100_000)
Copy link
Collaborator

Choose a reason for hiding this comment

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

please use StaticSeeder or debug populate command

@chakaz chakaz disabled auto-merge October 15, 2024 11:13
@chakaz chakaz enabled auto-merge (squash) October 15, 2024 11:24
@kostasrim
Copy link
Contributor

locally for me >90% of time

wow it did not fail for me :(

@chakaz
Copy link
Collaborator Author

chakaz commented Oct 15, 2024

maybe your machine is too slow 😆

@kostasrim
Copy link
Contributor

maybe your machine is too slow 😆

Probably, is really old 😄

@kostasrim
Copy link
Contributor

Fixes #3897

@chakaz chakaz merged commit c3f9ec1 into main Oct 15, 2024
12 checks passed
@chakaz chakaz deleted the chakaz/test_fix_flushall_stable branch October 15, 2024 11:48
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.

3 participants