Skip to content

Commit 7dedf09

Browse files
authored
Merge pull request #1657 from AntelopeIO/GH-1656-bp-gossip-test-1.2
[1.2.1] Test: Do not error when there is an in-coming connection
2 parents ff3c04c + 31e127a commit 7dedf09

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/auto_bp_gossip_peering_test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,8 @@ def verifyGossipConnections(scheduled_producers):
241241
if conn["is_socket_open"] is False:
242242
continue
243243
peer_addr = conn["peer"]
244+
if len(peer_addr) == 0:
245+
continue
244246
found.append(peer_names[peer_addr])
245247

246248
Print(f"Found connections of Node_03: {found}")

0 commit comments

Comments
 (0)