Skip to content

Connect peers on startup in tests #1024

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

TheBlueMatt
Copy link
Collaborator

This avoids ChannelManager ever being confused by the fact that
it received a message from a peer which it didn't think it was
connected to.

This supersedes #971 cc @jkczyz

This avoids `ChannelManager` ever being confused by the fact that
it received a message from a peer which it didn't think it was
connected to.
@TheBlueMatt TheBlueMatt force-pushed the 2021-07-always-connect-in-tests branch from bcbd4f1 to 2745bd5 Compare July 30, 2021 18:48
@jkczyz
Copy link
Contributor

jkczyz commented Jul 30, 2021

ACK 2745bd5

Thanks for the quick fix!

Copy link
Contributor

@jkczyz jkczyz left a comment

Choose a reason for hiding this comment

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

Not sure if the ubuntu beta failures are related, but I tested on macos locally without a problem.

@codecov
Copy link

codecov bot commented Jul 30, 2021

Codecov Report

Merging #1024 (2745bd5) into main (e26c9b0) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1024   +/-   ##
=======================================
  Coverage   90.82%   90.82%           
=======================================
  Files          60       60           
  Lines       31455    31462    +7     
=======================================
+ Hits        28568    28575    +7     
  Misses       2887     2887           
Impacted Files Coverage Δ
lightning/src/ln/channelmanager.rs 85.62% <100.00%> (+0.05%) ⬆️
lightning/src/ln/functional_test_utils.rs 94.93% <100.00%> (+0.02%) ⬆️
lightning/src/ln/functional_tests.rs 97.36% <0.00%> (-0.02%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e26c9b0...2745bd5. Read the comment docs.

Copy link
Contributor

@valentinewallace valentinewallace left a comment

Choose a reason for hiding this comment

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

Thanks for picking this up!

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.

3 participants