btcd/integration
Olaoluwa Osuntokun 5a2c5063b6 integration: synchronize p2p lifecycle stress batches
In this commit, we make each stress wave establish its full set of peers
before disconnecting them together. A ping/pong barrier proves the server
processed each verack, while RPC connection-count barriers prove
registration and removal completed before the next wave starts.

We bound concurrent handshakes from the shared source, drain every worker on
failure, and wait for server-side cleanup. This keeps the test compatible
with the admission limits it exercises and makes a passing run evidence of
the intended NewPeer/DonePeer ordering.
2026-07-21 16:45:25 -07:00
..
rpctest rpctest: scope shared state to the current process 2026-05-30 17:49:55 +09:00
bip0009_test.go multi: use new v2 modules everywhere 2026-05-14 18:05:33 -07:00
chain_test.go multi: use new v2 modules everywhere 2026-05-14 18:05:33 -07:00
csv_fork_test.go multi: use new v2 modules everywhere 2026-05-14 18:05:33 -07:00
getchaintips_test.go multi: use new v2 modules everywhere 2026-05-14 18:05:33 -07:00
invalidate_reconsider_block_test.go multi: use new v2 modules everywhere 2026-05-14 18:05:33 -07:00
log.go integration: print logs to console 2024-01-15 17:22:42 +08:00
main.go integration: Initial implementation. 2016-10-25 14:36:23 -05:00
p2a_test.go integration: fix p2a_test build under -tags=rpctest 2026-05-30 16:47:18 +09:00
prune_test.go multi: use new v2 modules everywhere 2026-05-14 18:05:33 -07:00
rawtx_test.go multi: use new v2 modules everywhere 2026-05-14 18:05:33 -07:00
README.md docs: update shields 2021-03-05 07:45:19 -05:00
reorg_test.go multi: use new v2 modules everywhere 2026-05-14 18:05:33 -07:00
rpcserver_test.go multi: use new v2 modules everywhere 2026-05-14 18:05:33 -07:00
sync_race_test.go integration: synchronize p2p lifecycle stress batches 2026-07-21 16:45:25 -07:00

integration

Build Status ISC License

This contains integration tests which make use of the rpctest package to programmatically drive nodes via RPC.

License

This code is licensed under the copyfree ISC License.