Skip to content

Implement isolate_node/reconnect_isolated_node in tests#2901

Merged
UdjinM6 merged 1 commit intodashpay:developfrom
UdjinM6:disconnectandreconnect
May 6, 2019
Merged

Implement isolate_node/reconnect_isolated_node in tests#2901
UdjinM6 merged 1 commit intodashpay:developfrom
UdjinM6:disconnectandreconnect

Conversation

@UdjinM6
Copy link

@UdjinM6 UdjinM6 commented May 5, 2019

Looks like Travis is too slow and peers are disconnected after setnetworkactive(True) and the following connect attempt which drops the freshly established connection (and tests fail). To fix this we should confirm that peers were actually disconnected on an isolated node (getconnectioncount rpc should return 0) before proceeding further.

Note: this PR includes #2898 , will rebase once it is merged (I decided not to request changes in the original PR because this patch also fixes similar potential issues with llmq-chainlocks.py)

@UdjinM6 UdjinM6 added this to the 14.0 milestone May 5, 2019
@codablock
Copy link

merged #2898, so this can be rebased

@UdjinM6 UdjinM6 force-pushed the disconnectandreconnect branch from 97d1a0a to 609cc14 Compare May 6, 2019 13:31
Copy link

@codablock codablock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK

@UdjinM6 UdjinM6 merged commit 357b727 into dashpay:develop May 6, 2019
@UdjinM6 UdjinM6 deleted the disconnectandreconnect branch November 26, 2020 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants