Skip to content

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 <[email protected]>
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