Without this error, poll_for_answer` would just continue execution, now it will fail the test if a response is not received.
The previous behavior caused the tests to not fail when the fulcrum stats reply for the number of transactions was wrong, which has been the case since we changed the scope of the `fulcrum_service` fixture from "session" to "function" in D14293. This is because the bitcoind docker is shared between all tests, so new tests mining blocks or sending transactins affect the following tests, and after D14293 the number of transactions was check (unsuccesfully) for each new tests.
Move the TxNum test to the bitcoind fixture's init, and use another stat that does not change between tests ("Controller.Chain") to check for the fulcrum service's responsiveness.
This is a partial backport of [[https://github.com/Electron-Cash/Electron-Cash/pull/2721 | electroncash#2721]]
https://github.com/Electron-Cash/Electron-Cash/pull/2721/commits/5576d8aa6cf4c8644c283f57ef359dbe275a9e96