joinmarket: add tests

This commit is contained in:
nixbitcoin
2020-05-18 09:51:18 +00:00
parent cce27da2ec
commit d6d3e8ff62
3 changed files with 19 additions and 0 deletions

View File

@@ -102,6 +102,14 @@ def run_tests(extra_tests):
assert_running("onion-chef")
assert_running("joinmarket")
machine.wait_until_succeeds(
log_has_string("joinmarket", "P2EPDaemonServerProtocolFactory starting on 27184")
)
machine.wait_until_succeeds(
log_has_string("joinmarket-yieldgenerator", "Failed to open wallet",)
)
# FIXME: use 'wait_for_unit' because 'create-web-index' always fails during startup due
# to incomplete unit dependencies.
# 'create-web-index' implicitly tests 'nodeinfo'.