test: make joinmarket work with regtest

This commit is contained in:
nixbitcoin
2021-10-25 13:30:53 +00:00
committed by Erik Arvstedt
parent a10aa21c69
commit d5ce1c43a8
3 changed files with 12 additions and 11 deletions

View File

@@ -218,9 +218,12 @@ def _():
@test("joinmarket-yieldgenerator")
def _():
machine.wait_until_succeeds(
log_has_string("joinmarket-yieldgenerator", "Critical error updating blockheight.")
)
if "regtest" in enabled_tests:
expected_log_msg = "You do not have the minimum required amount of coins to be a maker"
else:
expected_log_msg = "Critical error updating blockheight."
machine.wait_until_succeeds(log_has_string("joinmarket-yieldgenerator", expected_log_msg))
@test("joinmarket-ob-watcher")
def _():