go-ethereum/cmd/devp2p/internal/v4test
Martin Holst Swende 4cd6a1458e
cmd/devp2p: fix ping/pong race in discv4 tests (#23306)
This PR modifies the post-PING-send expectations to both be laxer and stricter: it doesn't care what order the packets arrive, but also verifies that exactly one PING and one PONG is returned.
2021-08-03 11:21:39 +02:00
..
discv4tests.go cmd/devp2p: fix ping/pong race in discv4 tests (#23306) 2021-08-03 11:21:39 +02:00
framework.go cmd/devp2p: add discv4 test suite (#21163) 2020-07-07 14:37:33 +02:00