Skip to content

fix(pytest): Increase REPLTAKOVER time in test_take_over_seeder #5415

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

Merged
merged 1 commit into from
Jul 4, 2025

Conversation

mkaruza
Copy link
Contributor

@mkaruza mkaruza commented Jul 4, 2025

REPLTAKEVER fails when we are replication from 4 proactor threads to 2. Increasing timeout should fix this test.

Closes #5360

REPLTAKEVER fails when we are replication from 4 proactor threads to 2.
Increasing timeout should fix this test.

Closes #5360

Signed-off-by: mkaruza <[email protected]>
@mkaruza mkaruza requested a review from kostasrim July 4, 2025 08:02
@@ -1294,7 +1294,7 @@ async def info_replication():
# Give the seeder a bit of time.
await asyncio.sleep(3)
logging.debug("running repltakover")
await c_replica.execute_command(f"REPLTAKEOVER 10 SAVE")
await c_replica.execute_command(f"REPLTAKEOVER 30 SAVE")
Copy link
Contributor

Choose a reason for hiding this comment

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

So were not robust enough? 😮‍💨

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It looks that with latest changes in replication and because of this 4->2 we don't takeover in time. I have run several tests on (#5392) with this increase and it seems that it is successful on all runs.

@mkaruza mkaruza merged commit 5fbf13c into main Jul 4, 2025
17 of 18 checks passed
@mkaruza mkaruza deleted the mkaruza/github#5360 branch July 4, 2025 10:51
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.

Failure on test_take_over_seeder
2 participants