Skip to content

itest+lntest: make sure states are cleaned when tests end#7511

Merged
guggero merged 1 commit intolightningnetwork:0-16-1-stagingfrom
yyforyongyu:fix-state-check-itest
Mar 14, 2023
Merged

itest+lntest: make sure states are cleaned when tests end#7511
guggero merged 1 commit intolightningnetwork:0-16-1-stagingfrom
yyforyongyu:fix-state-check-itest

Conversation

@yyforyongyu
Copy link
Copy Markdown
Member

Fixed a case where the cleanup is missed and validated the state when the tests end.

@yyforyongyu yyforyongyu added itests Issues related to integration tests. no-changelog labels Mar 14, 2023
@yyforyongyu
Copy link
Copy Markdown
Member Author

hmm should this be based on master or 0.16.1? I guess on master since other branches need this fix?

Copy link
Copy Markdown
Collaborator

@ellemouton ellemouton left a comment

Choose a reason for hiding this comment

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

Noice 🔥

Linter caught that the wait.NoError error is not checked.

Also - should this be opened against the 16.1 branch instead so that itests merged there can make use of this?

Copy link
Copy Markdown
Collaborator

@guggero guggero left a comment

Choose a reason for hiding this comment

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

LGTM pending @ellemouton's comments 🎉

Since we don't know if RC3 will be the final one, should we base this on 0-16-1-staging instead so we can go ahead and merge it?

@yyforyongyu yyforyongyu force-pushed the fix-state-check-itest branch from 7cc4eb9 to 07c0c76 Compare March 14, 2023 16:00
This commit changes how the node's state is updated to make sure the
test cleans up the node's state.

Also `testLookupHtlcResolution` is fixed with a cleanup.
@yyforyongyu yyforyongyu force-pushed the fix-state-check-itest branch from 07c0c76 to 20e53e8 Compare March 14, 2023 16:02
@yyforyongyu yyforyongyu changed the base branch from master to 0-16-1-staging March 14, 2023 16:02
@yyforyongyu
Copy link
Copy Markdown
Member Author

Changed the base!

@guggero guggero merged commit dbf667d into lightningnetwork:0-16-1-staging Mar 14, 2023
@yyforyongyu yyforyongyu deleted the fix-state-check-itest branch March 14, 2023 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

itests Issues related to integration tests. no-changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants