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

cmd/devp2p/internal/v4test: ignore FINDNODE in BondThenPingWithWrongFrom #26085

Merged
merged 5 commits into from
Nov 7, 2022

Conversation

marcindsobczak
Copy link
Contributor

Nethermind is sometimes failing hive test BondThenPingWithWrongFrom because of sending FindNode instead of expected Pong. Sometimes Pong is our first response and then we are passing this test. As we were bonded before receiving Ping, we consider sending FindNode as acceptable. This PR is changing test BondThenPingWithWrongFrom to ignore received FindNode while waiting for Pong response.
I tested it and after changes from this PR we are always passing BondThenPingWithWrongFrom.

@holiman
Copy link
Contributor

holiman commented Nov 1, 2022

As we were bonded before receiving Ping, we consider sending FindNode as acceptable.

Interesting. @fjl?

@fjl fjl changed the title cmd/devp2p/internal/v4test: ignore FindNode in BondThenPingWithWrongFrom cmd/devp2p/internal/v4test: ignore FINDNODE in BondThenPingWithWrongFrom Nov 7, 2022
@fjl fjl merged commit d629e02 into ethereum:master Nov 7, 2022
@fjl fjl added this to the 1.11.0 milestone Nov 7, 2022
shekhirin pushed a commit to shekhirin/go-ethereum that referenced this pull request Jun 6, 2023
…rom (ethereum#26085)

This fixes a race in the test.

Co-authored-by: Felix Lange <fjl@twurst.com>
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