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 subnet service test #6675

Closed
wants to merge 1 commit into from

Conversation

jimmygchen
Copy link
Member

Issue Addressed

This PR fixes an intermittently failing test:
https://github.com/sigp/lighthouse/actions/runs/12246911324/job/34163756917

It fails when the validator subnets happens to be in the permanent subscriptions - the existing check doesn't actually handle this correctly as subnet_service.is_subscribed checks for short-lived subscription. In the case where the subnet is already subscribed as a permanent subscription, there will be no new subscription events.

@jimmygchen jimmygchen added the ready-for-review The code is ready for review label Dec 10, 2024
@michaelsproul
Copy link
Member

Age has a PR for this here:

Solution seems similar. Maybe we can combine the two?

@jimmygchen
Copy link
Member Author

ah right yes it's the same thing with additional fixes, I'll close this one in favour of his one. Thanks!

@jimmygchen jimmygchen closed this Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-review The code is ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants