test: intermittent failure in rpc_net.py #26552

issue mzumsande openend this issue on November 21, 2022
  1. mzumsande commented at 10:37 pm on November 21, 2022: contributor

    See https://github.com/bitcoin/bitcoin/runs/9621443864 (master)

    The problem here is is that calling disconnect_p2ps waits until self.num_test_p2p_connections() == 0. num_test_p2p_connections() checks the field subver in getpeerinfo to distinguish p2p nodes from full nodes. However, if we are dealing with a p2p connection that has never sent a version, the node has never received the special subversion and the wait is ineffective (we continue even though the disconnection is not yet completed).

  2. mzumsande added the label Bug on Nov 21, 2022
  3. mzumsande renamed this:
    intermittent failure in rpc_net.py
    test: intermittent failure in rpc_net.py
    on Nov 21, 2022
  4. maflcko closed this on Nov 22, 2022

  5. sidhujag referenced this in commit 20eb5055a2 on Nov 22, 2022
  6. bitcoin locked this on Nov 22, 2023


mzumsande

Labels
Bug


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: 2024-06-29 07:13 UTC

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