diff --git a/Dockerfile b/Dockerfile index 4ef3ec0..48f3350 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,7 +36,7 @@ RUN bitcoind -version && bitcoin-cli -version ### Electrum ### # Clone latest Electrum wallet and a few test tools WORKDIR /build/ -RUN apt-get install -qqy git libsecp256k1-0 python3-cryptography python3-setuptools python3-pip jq +RUN apt-get install -qqy git libsecp256k1-0 python3-cryptography python3-setuptools python3-pip jq curl RUN git clone --recurse-submodules https://github.com/spesmilo/electrum/ && cd electrum/ && git log -1 RUN python3 -m pip install -e electrum/ diff --git a/tests/run.sh b/tests/run.sh index b8572dc..32e1b6b 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -47,6 +47,7 @@ electrs \ 2> data/electrs/regtest-debug.log & ELECTRS_PID=$! tail_log data/electrs/regtest-debug.log | grep -m1 "serving Electrum RPC" +curl localhost:24224 -o metrics.txt $ELECTRUM daemon --server localhost:60401:t -1 -vDEBUG 2> data/electrum/regtest-debug.log & ELECTRUM_PID=$!