Skip to content

Use common macro and local channel view for routing in tests #1113

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

Conversation

TheBlueMatt
Copy link
Collaborator

This moves towards standardizing the get_route calls somewhat in
tests to avoid the huge "change every line of tests to a new
get_route API" commits in the future.

This isn't meant to be exhaustive, and only tackled the very
trivial cases, but progress is progress.

@TheBlueMatt TheBlueMatt force-pushed the 2021-10-test-routing-via-macro branch 2 times, most recently from 6a54860 to 655cca1 Compare October 9, 2021 17:43
@codecov
Copy link

codecov bot commented Oct 9, 2021

Codecov Report

Merging #1113 (41ca433) into main (5a356ca) will decrease coverage by 0.06%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1113      +/-   ##
==========================================
- Coverage   90.67%   90.60%   -0.07%     
==========================================
  Files          66       66              
  Lines       34689    34515     -174     
==========================================
- Hits        31454    31274     -180     
- Misses       3235     3241       +6     
Impacted Files Coverage Δ
lightning/src/ln/chanmon_update_fail_tests.rs 97.69% <100.00%> (-0.09%) ⬇️
lightning/src/ln/functional_tests.rs 97.34% <100.00%> (-0.13%) ⬇️
lightning-background-processor/src/lib.rs 93.75% <0.00%> (-0.49%) ⬇️

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 5a356ca...41ca433. Read the comment docs.

@TheBlueMatt TheBlueMatt force-pushed the 2021-10-test-routing-via-macro branch from 655cca1 to b3fd1f8 Compare October 9, 2021 20:17
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.

💯

@TheBlueMatt
Copy link
Collaborator Author

Now based on #1116 to avoid conflicting too much with ongoing work.

This moves towards standardizing the get_route calls somewhat in
tests to avoid the huge "change every line of tests to a new
get_route API" commits in the future.

This isn't meant to be exhaustive, and only tackled the very
trivial cases, but progress is progress.
@TheBlueMatt TheBlueMatt force-pushed the 2021-10-test-routing-via-macro branch from 1ebbf9b to 41ca433 Compare October 12, 2021 18:30
@TheBlueMatt
Copy link
Collaborator Author

Gonna wait and see what happens with #1120 first.

@TheBlueMatt
Copy link
Collaborator Author

#1120 was basically a better version of this and landed.

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