diff options
author | fanquake <fanquake@gmail.com> | 2023-11-09 10:08:18 +0000 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2023-11-09 10:26:56 +0000 |
commit | c2da8c583f9ebe5ca8450aaaccad8afd2e106f65 (patch) | |
tree | 25eabc67c74e52734df7cf6a237db90221a63dee /.cirrus.yml | |
parent | d60ebea597eb9f09c4f2e547b7cfe7812805e7ba (diff) | |
parent | faa2ad88bc01bd434ce19fde19bcc5c78431702f (diff) | |
download | bitcoin-c2da8c583f9ebe5ca8450aaaccad8afd2e106f65.tar.xz |
Merge bitcoin/bitcoin#28822: test: Add missing wait for version to be sent in add_outbound_p2p_connection
faa2ad88bc01bd434ce19fde19bcc5c78431702f test: Add missing wait for version to be sent in add_outbound_p2p_connection (MarcoFalke)
Pull request description:
Can be tested with:
```diff
diff --git a/test/functional/test_framework/p2p.py b/test/functional/test_framework/p2p.py
index b1ed97b794..eb4f72c6b6 100755
--- a/test/functional/test_framework/p2p.py
+++ b/test/functional/test_framework/p2p.py
@@ -205,6 +205,7 @@ class P2PConnection(asyncio.Protocol):
assert not self._transport
logger.debug("Connected & Listening: %s:%d" % (self.dstaddr, self.dstport))
self._transport = transport
+ import time;time.sleep(.1);
if self.on_connection_send_msg:
self.send_message(self.on_connection_send_msg)
self.on_connection_send_msg = None # Never used again
```
Found and reported by mzumsande in https://github.com/bitcoin/bitcoin/pull/28782#pullrequestreview-1718560252
ACKs for top commit:
mzumsande:
ACK faa2ad88bc01bd434ce19fde19bcc5c78431702f
Tree-SHA512: 863f06125dec40cccaa852d0d8ca2e2b9c0b74610205e9fd6c9c279bdf36801ff475e3d873fd1b18172eb8220e17b2caff60069ce63512e569934a43f27d03fd
Diffstat (limited to '.cirrus.yml')
0 files changed, 0 insertions, 0 deletions