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

pytests: further extend the offline mode testcase #7676

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

m-schmoock
Copy link
Collaborator

Just more on the xfail testcase

Now the testscase reflects what I would expect from an --offline node:

  • no creation of a listener
  • also no cli connections (e.g. by plugin)

assert not l1.daemon.is_in_log("connectd: Created listener on")
# and not to allow connections
assert not l1.rpc.connect(l2.info['id'], 'localhost', l2.port)
Copy link
Collaborator

Choose a reason for hiding this comment

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

we are not an rpc error here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah likely correct, I'll fix that line on the test, when cln refuses to make connections with offline nodes so I can check for the actual error

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