mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-19 14:53:43 +01:00
test: Avoid shutdown race in NetworkThread
This commit is contained in:
@@ -345,6 +345,7 @@ class BitcoinTestFramework(metaclass=BitcoinTestMetaClass):
|
||||
self.log.debug('Setting up network thread')
|
||||
self.network_thread = NetworkThread()
|
||||
self.network_thread.start()
|
||||
self.wait_until(lambda: self.network_thread.network_event_loop.is_running())
|
||||
|
||||
if self.options.usecli:
|
||||
if not self.supports_cli:
|
||||
|
||||
Reference in New Issue
Block a user