From 4ece2da8db5940fbaad73773d8f073bc08ab8fff Mon Sep 17 00:00:00 2001 From: Jonas Nick Date: Tue, 4 Aug 2020 12:17:15 +0000 Subject: [PATCH] tests: move nginx check in scenarios lib --- test/scenarios/lib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/scenarios/lib.py b/test/scenarios/lib.py index 2951a67..7346dd8 100644 --- a/test/scenarios/lib.py +++ b/test/scenarios/lib.py @@ -59,7 +59,6 @@ def run_tests(extra_tests): extra_tests.pop("electrs")() # Check RPC connection to bitcoind machine.wait_until_succeeds(log_has_string("electrs", "NetworkInfo")) - assert_running("nginx") # Stop electrs from spamming the test log with 'wait for bitcoind sync' messages succeed("systemctl stop electrs") @@ -86,6 +85,7 @@ def run_tests(extra_tests): # to incomplete unit dependencies. # 'create-web-index' implicitly tests 'nodeinfo'. machine.wait_for_unit("create-web-index") + assert_running("nginx") extra_tests.pop("web-index")() machine.wait_until_succeeds(log_has_string("bitcoind-import-banlist", "Importing node banlist"))