tests: add post-clightning extra tests to scenarios

This commit is contained in:
Jonas Nick
2020-08-04 12:17:47 +00:00
parent 5fa0602a18
commit 5c0170c6b8
3 changed files with 51 additions and 47 deletions
+2 -4
View File
@@ -113,6 +113,8 @@ def run_tests(extra_tests):
)
assert_no_failure("bitcoind-import-banlist")
extra_tests.pop("post-clightning")()
### Test lnd
stopped_services = "nanopos lightning-charge spark-wallet clightning"
@@ -131,9 +133,5 @@ def run_tests(extra_tests):
log_has_string("lightning-loop", "chain notifier RPC isstill in the process of starting")
)
### Stop lnd and restart clightning
succeed("systemctl stop lnd")
succeed("systemctl start " + stopped_services)
### Check that all extra_tests have been run
assert len(extra_tests) == 0