lightning-integration
lightning-integration copied to clipboard
Reference config file for Eclair not found
I cloned this repo, downloaded Eclair v0.3 jar into the /bin directory, renamed it to eclair.jar, and ran py.test -v test.py.
eclair.py fails on line 62 with:
FileNotFoundError: [Errno 2] No such file or directory: 'src/eclair/eclair-core/src/main/resources/reference.conf'
which is understandable, as lightning-integration doesn't know anything about the Eclair's source code, including its reference configuration file.
I thought I was only supposed to copy the executables into /bin... Other implementations are launched with command line arguments rather than config file. How should I launch this tool with Eclair?
You need to at least clone the source, so we can extract the config file, adapt it to our needs and then start the binary. We don't ship the config in this repo since it has been rather unstable and breaking our customizations in the past, so we try to grab it from the source repo, matching the version we are about to test.
Notice also that your test-results will not point to the correct versions if you just drop the binaries in the bin/ directory.
It is supposed to be run like this:
make update clients test
That will clone all the repos, update and run the tests.
your test-results will not point to the correct versions if you just drop the binaries in the bin/ directory
I surely misunderstand something, but doesn't it contradict the following phrase from the readme?
In order for the tests to run you'll need to compile the various clients and move/link the binaries into the directories where the tests can find them
Also it might be helpful to mention make update clients test in readme, if that's how this tool is to be used.
(The issue can be closed, as I planned to use this tool for the purpose that is doesn't seem to be well suited for)