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

Create function wait_for_gossip #803

Open
czarte opened this issue Jul 23, 2024 · 0 comments
Open

Create function wait_for_gossip #803

czarte opened this issue Jul 23, 2024 · 0 comments

Comments

@czarte
Copy link
Collaborator

czarte commented Jul 23, 2024

Create function wait_for_gossip, that ensures the Gossip process is over to perform requests for web content in tests.

In this moment we are just starting and shutting down the nodes in the multinode integration test, because the process of starting and shutting down the cluster of the nodes, because the process was quick enough to process gossips immediately. So construction of the neighborhood was fast enough to process requests in such a short time in tests. In GH-788 we implemented construction of CountryBlocks into the memory, so node is starting bit delayed and we need to wait a bit for gossip to process and construct Neighborhood, so we need to check if nodes already created the Patch to successfully perform the request in the multinode tests.

multinode_integration_tests/tests/bookkeeping_test.rs

@czarte czarte converted this from a draft issue Jul 23, 2024
@czarte czarte changed the title Create function wait for gossip is over to perform request Create function wait_for_gossip Jul 23, 2024
@kauri-hero kauri-hero moved this from 🆕 New to 🔖 Ready in MASQ Node v2 Jul 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🔖 Ready
Development

No branches or pull requests

2 participants