pytest: Chaning startup sentinel for bitcoind.

By looking for 'Done loading' in the log output we should actually be
called after `SetRPCWarmupFinished` in bitcoind. Only then is it safe
to make RPC calls. This resulted in the test suite being a bit flaky.
This commit is contained in:
Christian Decker 2017-02-08 15:12:08 +01:00
parent 66d122684d
commit c7e6f197b0

View File

@ -139,7 +139,8 @@ class BitcoinD(TailableProc):
def start(self):
TailableProc.start(self)
self.wait_for_log("dnsseed thread exit", timeout=10)
self.wait_for_log("Done loading", timeout=10)
logging.info("BitcoinD started")