joinmarket-ob-watcher: don't assert running, assert rpc failure
joinmarket-ob-watcher now makes extensive use of bitcoind because of JoinMarket's new fidelity bond functionality. Therefore it fails on non-synced nodes, as those in the test suite. We now test that the service fails with the correct error, rather than asserting that it is running.
This commit is contained in:
parent
00a0759884
commit
5c14453389
@ -221,8 +221,9 @@ def _():
|
|||||||
|
|
||||||
@test("joinmarket-ob-watcher")
|
@test("joinmarket-ob-watcher")
|
||||||
def _():
|
def _():
|
||||||
assert_running("joinmarket-ob-watcher")
|
# joinmarket-ob-watcher fails on non-synced mainnet nodes.
|
||||||
machine.wait_until_succeeds(log_has_string("joinmarket-ob-watcher", "Starting ob-watcher"))
|
# Also, it doesn't support any of the test networks.
|
||||||
|
machine.wait_until_succeeds(log_has_string("joinmarket-ob-watcher", "unknown error in JSON-RPC"))
|
||||||
|
|
||||||
@test("nodeinfo")
|
@test("nodeinfo")
|
||||||
def _():
|
def _():
|
||||||
|
Loading…
Reference in New Issue
Block a user