Skip to content

Conversation

aakselrod
Copy link
Contributor

This PR adds a timeout to the testReorgWalletBalance test's node disconnect loop, which would otherwise cycle forever until the tests are interrupted by a timeout panic. It also makes the test look for a peer disconnection, not necessarily a peer count of 0, which is more robust in case there is a pre-existing peer connection from another source.

The PR also fixes a small variable capitalization issue caught by the linter.

Copy link
Member

@Roasbeef Roasbeef left a comment

Choose a reason for hiding this comment

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

LGTM 🏂

@Roasbeef Roasbeef merged commit 9bc25df into lightningnetwork:master Nov 12, 2017
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