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

Connection refused when executing pytest test_commando.py locally #399

Closed
kostjaigin opened this issue Nov 6, 2022 · 1 comment
Closed

Comments

@kostjaigin
Copy link

Hi!

I am super interested in running and extending the tests locally before the plugins on my machine and was curious if they are suitable for a local run? It seems like everything is installed (requirements + pytest + pyln.testing), but I still get networking errors like the following after running pytest test_commando.py::test_commando for example:

        err = None
        for res in getaddrinfo(host, port, 0, SOCK_STREAM):
            af, socktype, proto, canonname, sa = res
            sock = None
            try:
                sock = socket(af, socktype, proto)
                if timeout is not _GLOBAL_DEFAULT_TIMEOUT:
                    sock.settimeout(timeout)
                if source_address:
                    sock.bind(source_address)
>               sock.connect(sa)
E               ConnectionRefusedError: [Errno 61] Connection refused

/usr/local/Cellar/[email protected]/3.9.13_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/socket.py:832: ConnectionRefusedError
--------------------------------------------------------------------------- Captured stdout setup ----------------------------------------------------------------------------
Running tests in /tmp/ltests-svm2obbz
========================================================================== short test summary info ===========================================================================
ERROR test_commando.py::test_commando - ConnectionRefusedError: [Errno 61] Connection refused
@ca-ruz
Copy link
Contributor

ca-ruz commented Aug 3, 2024

This plugin is archived, commando is included in the core lightning repo now.

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

No branches or pull requests

3 participants