Skip to content
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

Tiny cleanups #7236

Merged
merged 3 commits into from
Apr 20, 2024
Merged

Conversation

rustyrussell
Copy link
Contributor

Several things which were gathering in unloved branches :)

@rustyrussell rustyrussell added this to the v24.05 milestone Apr 19, 2024
@rustyrussell rustyrussell requested a review from cdecker as a code owner April 19, 2024 04:47
Copy link
Contributor

@vincenzopalazzo vincenzopalazzo left a comment

Choose a reason for hiding this comment

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

Some refused, but I love this cleanup

===End Flaky Test Report===
=========================== short test summary info ============================
ERROR tests/test_closing.py::test_channel_lease_lessor_cheat - ValueError: 
Node errors:
 - lightningd-2: had BROKEN messages
Global errors:
ERROR tests/test_closing.py::test_channel_lease_lessee_cheat - ValueError: 
Node errors:
 - lightningd-1: had BROKEN messages
Global errors:
ERROR tests/test_opening.py::test_rbf_reconnect_tx_construct - ValueError: 
Node errors:
 - lightningd-2: had BROKEN messages
Global errors:
===== 111 passed, 613 skipped, 33 warnings, 3 errors in 434.56s (0:07:14) ======

@rustyrussell
Copy link
Contributor Author

Some refused, but I love this cleanup

===End Flaky Test Report===
=========================== short test summary info ============================
ERROR tests/test_closing.py::test_channel_lease_lessor_cheat - ValueError: 
Node errors:
 - lightningd-2: had BROKEN messages
Global errors:
ERROR tests/test_closing.py::test_channel_lease_lessee_cheat - ValueError: 
Node errors:
 - lightningd-1: had BROKEN messages
Global errors:
ERROR tests/test_opening.py::test_rbf_reconnect_tx_construct - ValueError: 
Node errors:
 - lightningd-2: had BROKEN messages
Global errors:
===== 111 passed, 613 skipped, 33 warnings, 3 errors in 434.56s (0:07:14) ======

Yep, you can see I didn't test DF. Fixed those, let's try again...

Rather than `allow_broken_log`, we have `broken_log` which is a regex
indicating what log lines are expected.  This tightens our tests
significantly, as it will catch *unexpected* brokenness.

Signed-off-by: Rusty Russell <[email protected]>
No need to explicitly free this var, we can use tmpctx.

Signed-off-by: Rusty Russell <[email protected]>
It tells us if it's failed, so we should use that rather than
reporting failure twice.

Signed-off-by: Rusty Russell <[email protected]>
@rustyrussell rustyrussell merged commit cd7175b into ElementsProject:master Apr 20, 2024
35 checks passed
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