Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: Fix intermittent issue in p2p_handshake.py
If we reuse the same port when disconnecting and establishing connections again, we might hit this scenario: - disconnection is done on python side for P2PConnection - disconnection is not complete on c++ side for TestNode - we're trying to establish a new connection on same port again Prevent this scenario from happening by ensuring disconnection on c++ side for TestNode as well.
- Loading branch information