go-ethereum/cmd/devp2p/internal/ethtest
Alexey Osipov e42af536c5
Some checks are pending
/ Linux Build (push) Waiting to run
/ Linux Build (arm) (push) Waiting to run
/ Windows Build (push) Waiting to run
/ Docker Image (push) Waiting to run
cmd/devp2p/internal/ethtest: accept responses in any order (#32834)
In both `TestSimultaneousRequests` and `TestSameRequestID`, we send two
concurrent requests. The client under test is free to respond in either
order, so we need to handle responses both ways.

Also fixes an issue where some generated blob transactions didn't have
any blobs.

---------

Co-authored-by: Felix Lange <fjl@twurst.com>
2025-10-08 19:23:44 +02:00
..
testdata cmd/devp2p/internal/ethtest: update to PoS-only test chain (#32850) 2025-10-08 11:14:27 +02:00
chain.go all: drop x/exp direct dependency (#30558) 2025-02-27 15:53:52 +01:00
chain_test.go cmd/devp2p: update eth/snap protocol test suites for PoS (#28340) 2023-12-20 17:23:48 +01:00
conn.go all: replace fmt.Errorf with errors.New (#32286) 2025-07-28 10:13:18 +02:00
engine.go cmd: use package filepath over path for file system operations (#29227) 2024-03-12 10:00:34 +01:00
mkchain.sh cmd/devp2p/internal/ethtest: update to PoS-only test chain (#32850) 2025-10-08 11:14:27 +02:00
protocol.go cmd/devp2p/internal/ethtest: accept responses in any order (#32834) 2025-10-08 19:23:44 +02:00
snap.go cmd/devp2p/internal/ethtest: update to PoS-only test chain (#32850) 2025-10-08 11:14:27 +02:00
suite.go cmd/devp2p/internal/ethtest: accept responses in any order (#32834) 2025-10-08 19:23:44 +02:00
suite_test.go all: simplify tests using t.TempDir() (#30150) 2024-07-15 15:26:58 +02:00
transaction.go all: replace fmt.Errorf() with errors.New() if no param required (#29472) 2024-04-08 12:59:17 +02:00