From 5c144533896b85d032954e9e683fb7ca25a75824 Mon Sep 17 00:00:00 2001 From: nixbitcoin Date: Wed, 25 Aug 2021 13:50:16 +0000 Subject: [PATCH] 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. --- test/tests.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/tests.py b/test/tests.py index 88856e9..a8ab0bb 100644 --- a/test/tests.py +++ b/test/tests.py @@ -221,8 +221,9 @@ def _(): @test("joinmarket-ob-watcher") def _(): - assert_running("joinmarket-ob-watcher") - machine.wait_until_succeeds(log_has_string("joinmarket-ob-watcher", "Starting ob-watcher")) + # joinmarket-ob-watcher fails on non-synced mainnet nodes. + # 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") def _():