test: check that peer is connected when calling sync_* #18474

pull MarcoFalke wants to merge 1 commits into bitcoin:master from MarcoFalke:2003-qaCheckConnSync changing 1 files +6 −0
  1. MarcoFalke commented at 7:55 PM on March 30, 2020: member

    Without a connection there is no way to sync, so we can fail early and don't have to wait for the timeout

  2. test: check that peer is connected when calling sync_* fac3716b09
  3. DrahtBot added the label Tests on Mar 30, 2020
  4. jonatack commented at 8:33 PM on March 31, 2020: member

    ACK fac3716b09bb9

    Ran the p2p tests twice compared to master and they don't appear to be slowed down by this change -- they actually ran a few seconds faster.

  5. MarcoFalke merged this on Mar 31, 2020
  6. MarcoFalke closed this on Mar 31, 2020

  7. sidhujag referenced this in commit 2e6eaa2098 on Mar 31, 2020
  8. MarcoFalke deleted the branch on Apr 1, 2020
  9. random-zebra referenced this in commit 6bc917e859 on Jul 6, 2020
  10. Fabcien referenced this in commit a05e018b95 on Jan 13, 2021
  11. DrahtBot locked this on Feb 15, 2022
Contributors
Labels

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-17 06:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me