joinmarket: automatically generate wallet

This commit is contained in:
nixbitcoin 2020-09-11 11:53:12 +00:00
parent d6d3e8ff62
commit d0701f518c
No known key found for this signature in database
GPG key ID: DD11F9AD5308B3BA
6 changed files with 66 additions and 5 deletions

View file

@ -107,7 +107,7 @@ def run_tests(extra_tests):
log_has_string("joinmarket", "P2EPDaemonServerProtocolFactory starting on 27184")
)
machine.wait_until_succeeds(
log_has_string("joinmarket-yieldgenerator", "Failed to open wallet",)
log_has_string("joinmarket-yieldgenerator", "Failure to get blockheight",)
)
# FIXME: use 'wait_for_unit' because 'create-web-index' always fails during startup due
@ -158,6 +158,10 @@ def run_tests(extra_tests):
"export $(cat /secrets/backup-encryption-env); duplicity list-current-files 'file:///var/lib/localBackups'",
"secrets/lnd-seed-mnemonic",
)
assert_matches(
"export $(cat /secrets/backup-encryption-env); duplicity list-current-files 'file:///var/lib/localBackups'",
"secrets/jm-wallet-seed",
)
assert_matches(
"export $(cat /secrets/backup-encryption-env); duplicity list-current-files 'file:///var/lib/localBackups'",
"var/lib/bitcoind/wallet.dat",