Skip to content

Conversation

@guillaumemichel
Copy link
Collaborator

Fixes #791

Using testFindPeerQuery with 2 bootstrappers but only a single bootstrapConns leads to partitioning. Basically each node connects to one of the two bootstrappers at random. Bootstrappers aren't connected to each other. The only bridge between the 2 partitions is guy, which is connected to all bootstrappers.

While not critical, it may require nodes to perform a high number of routing table refreshes to converge to a stable state. The test is sometimes failing because nodes in both partitions may not know each other.

Using a single bootstrapper for the minimal test doesn't seem crazy, and solves the partitions issue.

@guillaumemichel guillaumemichel requested a review from a team as a code owner February 7, 2025 10:53
@guillaumemichel guillaumemichel merged commit 829ea4c into master Feb 7, 2025
7 checks passed
@guillaumemichel guillaumemichel deleted the fix/791 branch February 7, 2025 15:33
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.

flaky TestFindPeerQueryMinimal test

2 participants