From 1e62456ed1890c249fb6b631094ce17153167231 Mon Sep 17 00:00:00 2001 From: Erik Arvstedt Date: Wed, 4 Mar 2020 18:09:01 +0100 Subject: [PATCH] electrs: test RPC connection to bitcoind --- test/test-script.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/test-script.py b/test/test-script.py index 08af081..5c35f9b 100644 --- a/test/test-script.py +++ b/test/test-script.py @@ -39,6 +39,8 @@ assert_matches("su operator -c 'bitcoin-cli getnetworkinfo' | jq", '"version"') assert_running("electrs") machine.wait_for_open_port(4224) # prometeus metrics provider +# Check RPC connection to bitcoind +machine.wait_until_succeeds(log_has_string("electrs", "NetworkInfo")) assert_running("nginx") # SSL stratum server via nginx. Only check for open port, no content is served here # as electrs isn't ready.